Diff
Not logged in

Differences From:

File src/descendants.c part of check-in [580d6ad8c7] - Suppress the display of the artificate ID on the timeline which showing changes to wiki or tickets. by drh on 2009-01-21 01:23:40. [view]

To:

File src/descendants.c part of check-in [432d4391b9] - Fix a bug in the "leaves" page when the repository is empty. Begin adding support for the ability to erase tags. by drh on 2009-01-21 13:50:11. [view]

@@ -77,8 +77,9 @@
   bag_init(&pending);
   if( iBase<=0 ){
     iBase = db_int(0, "SELECT objid FROM event WHERE type='ci'"
                       " ORDER BY mtime LIMIT 1");
+    if( iBase==0 ) return;
   }
   bag_insert(&pending, iBase);
   db_prepare(&q, "SELECT cid FROM plink WHERE pid=:rid");
   db_prepare(&isBr,