Fossil SCM
Extra comment in the code for the m=checkin with t=release feature of /timeline.
Commit
461d4f41d56e30ce4d6dc3d89e5eb63ab9b327ee07240f2fc96e847a913eb336
Parent
69e596e5d29ac97…
1 file changed
+2
+2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -2202,10 +2202,12 @@ | ||
| 2202 | 2202 | "INSERT OR IGNORE INTO selected_nodes" |
| 2203 | 2203 | " SELECT tagxref.rid FROM tagxref NATURAL JOIN tag" |
| 2204 | 2204 | " WHERE %s AND tagtype>0", zTagSql/*safe-for-%s*/ |
| 2205 | 2205 | ); |
| 2206 | 2206 | if( zMark ){ |
| 2207 | + /* If the t=release option is used with m=UUID, then also | |
| 2208 | + ** include the UUID check-in in the display list */ | |
| 2207 | 2209 | int ridMark = name_to_rid(zMark); |
| 2208 | 2210 | db_multi_exec( |
| 2209 | 2211 | "INSERT OR IGNORE INTO selected_nodes(rid) VALUES(%d)", ridMark); |
| 2210 | 2212 | } |
| 2211 | 2213 | if( !related ){ |
| 2212 | 2214 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -2202,10 +2202,12 @@ | |
| 2202 | "INSERT OR IGNORE INTO selected_nodes" |
| 2203 | " SELECT tagxref.rid FROM tagxref NATURAL JOIN tag" |
| 2204 | " WHERE %s AND tagtype>0", zTagSql/*safe-for-%s*/ |
| 2205 | ); |
| 2206 | if( zMark ){ |
| 2207 | int ridMark = name_to_rid(zMark); |
| 2208 | db_multi_exec( |
| 2209 | "INSERT OR IGNORE INTO selected_nodes(rid) VALUES(%d)", ridMark); |
| 2210 | } |
| 2211 | if( !related ){ |
| 2212 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -2202,10 +2202,12 @@ | |
| 2202 | "INSERT OR IGNORE INTO selected_nodes" |
| 2203 | " SELECT tagxref.rid FROM tagxref NATURAL JOIN tag" |
| 2204 | " WHERE %s AND tagtype>0", zTagSql/*safe-for-%s*/ |
| 2205 | ); |
| 2206 | if( zMark ){ |
| 2207 | /* If the t=release option is used with m=UUID, then also |
| 2208 | ** include the UUID check-in in the display list */ |
| 2209 | int ridMark = name_to_rid(zMark); |
| 2210 | db_multi_exec( |
| 2211 | "INSERT OR IGNORE INTO selected_nodes(rid) VALUES(%d)", ridMark); |
| 2212 | } |
| 2213 | if( !related ){ |
| 2214 |