Fossil SCM

Fix on the get_parent_branch_rid - wrong variable.

viriketo 2012-02-17 23:16 annotate_links
Commit 75b4676c51dad3ace5b33d331e1071cb32d50cf8
1 file changed +1 -1
+1 -1
--- src/name.c
+++ src/name.c
@@ -492,11 +492,11 @@
492492
branchName = db_text(0,
493493
"SELECT value FROM tagxref"
494494
" WHERE tagid=%d"
495495
" AND tagxref.tagtype>0"
496496
" AND rid=%d",
497
- TAG_BRANCH, rid);
497
+ TAG_BRANCH, ridRequested);
498498
499499
if ( !branchName )
500500
return 0;
501501
502502
/* Find the name of the branch this was forked from */
503503
--- src/name.c
+++ src/name.c
@@ -492,11 +492,11 @@
492 branchName = db_text(0,
493 "SELECT value FROM tagxref"
494 " WHERE tagid=%d"
495 " AND tagxref.tagtype>0"
496 " AND rid=%d",
497 TAG_BRANCH, rid);
498
499 if ( !branchName )
500 return 0;
501
502 /* Find the name of the branch this was forked from */
503
--- src/name.c
+++ src/name.c
@@ -492,11 +492,11 @@
492 branchName = db_text(0,
493 "SELECT value FROM tagxref"
494 " WHERE tagid=%d"
495 " AND tagxref.tagtype>0"
496 " AND rid=%d",
497 TAG_BRANCH, ridRequested);
498
499 if ( !branchName )
500 return 0;
501
502 /* Find the name of the branch this was forked from */
503

Keyboard Shortcuts

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