Fossil SCM
Fix on the get_parent_branch_rid - wrong variable.
Commit
75b4676c51dad3ace5b33d331e1071cb32d50cf8
Parent
9f208c6830fd15c…
1 file changed
+1
-1
+1
-1
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -492,11 +492,11 @@ | ||
| 492 | 492 | branchName = db_text(0, |
| 493 | 493 | "SELECT value FROM tagxref" |
| 494 | 494 | " WHERE tagid=%d" |
| 495 | 495 | " AND tagxref.tagtype>0" |
| 496 | 496 | " AND rid=%d", |
| 497 | - TAG_BRANCH, rid); | |
| 497 | + TAG_BRANCH, ridRequested); | |
| 498 | 498 | |
| 499 | 499 | if ( !branchName ) |
| 500 | 500 | return 0; |
| 501 | 501 | |
| 502 | 502 | /* Find the name of the branch this was forked from */ |
| 503 | 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, 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 |