Fossil

Check-in [d820722fe5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:The timeline correctly shows as a leaf a check-in whose only children are separate branches.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d820722fe542f0d9f8b5373dedf2ce9338f70a4c
User & Date: drh 2009-01-21 01:06:32.000
Context
2009-01-21
01:23
Suppress the display of the artificate ID on the timeline which showing changes to wiki or tickets. ... (check-in: 580d6ad8c7 user: drh tags: trunk)
01:06
The timeline correctly shows as a leaf a check-in whose only children are separate branches. ... (check-in: d820722fe5 user: drh tags: trunk)
00:05
Fix an SQL syntax error in the commit logic introduced by check-in [b6e22e62cf26115617822c7940cec5d0dc687184]. ... (check-in: f6d507179e user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
232
233
234
235
236
237
238

239



240
241
242
243
244
245
246
    @   blob.rid,
    @   uuid,
    @   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),



    @   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)
    @  FROM event JOIN blob 
    @ WHERE blob.rid=event.objid







>
|
>
>
>







232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
    @   blob.rid,
    @   uuid,
    @   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),
    @   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)
    @  FROM event JOIN blob 
    @ WHERE blob.rid=event.objid