Fossil SCM

Fix a problem in the /info page for check-ins wherein it was not showing the links to the descendents graph.

drh 2017-11-26 17:49 trunk
Commit 6fe8d46106113ae4bc004bd8e7b128e72f330fe5434620f656bd791ed928ba34
1 file changed +1 -1
+1 -1
--- src/info.c
+++ src/info.c
@@ -631,11 +631,11 @@
631631
zParent = db_text(0,
632632
"SELECT uuid FROM plink, blob"
633633
" WHERE plink.cid=%d AND blob.rid=plink.pid AND plink.isprim",
634634
rid
635635
);
636
- isLeaf = is_a_leaf(rid);
636
+ isLeaf = !db_exists("SELECT 1 FROM plink WHERE pid=%d", rid);
637637
db_prepare(&q1,
638638
"SELECT uuid, datetime(mtime,toLocal()), user, comment,"
639639
" datetime(omtime,toLocal()), mtime"
640640
" FROM blob, event"
641641
" WHERE blob.rid=%d"
642642
--- src/info.c
+++ src/info.c
@@ -631,11 +631,11 @@
631 zParent = db_text(0,
632 "SELECT uuid FROM plink, blob"
633 " WHERE plink.cid=%d AND blob.rid=plink.pid AND plink.isprim",
634 rid
635 );
636 isLeaf = is_a_leaf(rid);
637 db_prepare(&q1,
638 "SELECT uuid, datetime(mtime,toLocal()), user, comment,"
639 " datetime(omtime,toLocal()), mtime"
640 " FROM blob, event"
641 " WHERE blob.rid=%d"
642
--- src/info.c
+++ src/info.c
@@ -631,11 +631,11 @@
631 zParent = db_text(0,
632 "SELECT uuid FROM plink, blob"
633 " WHERE plink.cid=%d AND blob.rid=plink.pid AND plink.isprim",
634 rid
635 );
636 isLeaf = !db_exists("SELECT 1 FROM plink WHERE pid=%d", rid);
637 db_prepare(&q1,
638 "SELECT uuid, datetime(mtime,toLocal()), user, comment,"
639 " datetime(omtime,toLocal()), mtime"
640 " FROM blob, event"
641 " WHERE blob.rid=%d"
642

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button