Check-in [d820722fe5]
Not logged in
Overview

SHA1 Hash:d820722fe542f0d9f8b5373dedf2ce9338f70a4c
Date: 2009-01-21 01:06:32
User: drh
Comment:The timeline correctly shows as a leaf a check-in whose only children are separate branches.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/timeline.c from [73a9d3ab6c] to [9af5050c9a].

@@ -234,11 +234,15 @@
     @   datetime(event.mtime,'localtime') AS timestamp,
     @   coalesce(ecomment, comment),
     @   coalesce(euser, user),
     @   (SELECT count(*) FROM plink WHERE pid=blob.rid AND isprim=1),
     @   (SELECT count(*) FROM plink WHERE cid=blob.rid),
-    @   NOT EXISTS (SELECT 1 FROM plink WHERE pid=blob.rid),
+    @   0==(SELECT count(*) FROM plink
+    @     WHERE pid=blob.rid AND NOT EXISTS(
+    @       SELECT 1 FROM tagxref
+    @        WHERE tagid=(SELECT tagid FROM tag WHERE tagname='newbranch')
+    @          AND rid=plink.cid AND tagtype>0)),
     @   bgcolor,
     @   event.type,
     @   (SELECT group_concat(substr(tagname,5), ', ') FROM tag, tagxref
     @     WHERE tagname GLOB 'sym-*' AND tag.tagid=tagxref.tagid
     @       AND tagxref.rid=blob.rid AND tagxref.tagtype>0)