Fossil SCM

Extra comment in the code for the m=checkin with t=release feature of /timeline.

drh 2020-05-12 00:21 trunk
Commit 461d4f41d56e30ce4d6dc3d89e5eb63ab9b327ee07240f2fc96e847a913eb336
1 file changed +2
--- src/timeline.c
+++ src/timeline.c
@@ -2202,10 +2202,12 @@
22022202
"INSERT OR IGNORE INTO selected_nodes"
22032203
" SELECT tagxref.rid FROM tagxref NATURAL JOIN tag"
22042204
" WHERE %s AND tagtype>0", zTagSql/*safe-for-%s*/
22052205
);
22062206
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 */
22072209
int ridMark = name_to_rid(zMark);
22082210
db_multi_exec(
22092211
"INSERT OR IGNORE INTO selected_nodes(rid) VALUES(%d)", ridMark);
22102212
}
22112213
if( !related ){
22122214
--- 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

Keyboard Shortcuts

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