Fossil SCM

Remove a hack that no longer works after calling `verify_all_options()'.

florian 2023-12-13 07:18 trunk
Commit a4fc47ad4a4694d1f3ac906d6fe37b0cd3e26e17d82cef603ca2220b655394f9
1 file changed +2 -3
+2 -3
--- src/branch.c
+++ src/branch.c
@@ -306,13 +306,12 @@
306306
Blob sql;
307307
blob_init(&sql, 0, 0);
308308
brlist_create_temp_table();
309309
/* Ignore nLimitMRU if no chronological sort requested. */
310310
if( (brFlags & BRL_ORDERBY_MTIME)==0 ) nLimitMRU = 0;
311
- /* Undocumented: invert negative values for nLimitMRU, so that command-line
312
- ** arguments similar to `head -5' with "option numbers" are possible. */
313
- if( nLimitMRU<0 ) nLimitMRU = -nLimitMRU;
311
+ /* Negative values for nLimitMRU also mean "no limit". */
312
+ if( nLimitMRU<0 ) nLimitMRU = 0;
314313
/* OUTER QUERY */
315314
blob_append_sql(&sql,"SELECT name, isprivate, mergeto,");
316315
if( brFlags & BRL_LIST_USERS ){
317316
blob_append_sql(&sql,
318317
" (SELECT group_concat(user) FROM ("
319318
--- src/branch.c
+++ src/branch.c
@@ -306,13 +306,12 @@
306 Blob sql;
307 blob_init(&sql, 0, 0);
308 brlist_create_temp_table();
309 /* Ignore nLimitMRU if no chronological sort requested. */
310 if( (brFlags & BRL_ORDERBY_MTIME)==0 ) nLimitMRU = 0;
311 /* Undocumented: invert negative values for nLimitMRU, so that command-line
312 ** arguments similar to `head -5' with "option numbers" are possible. */
313 if( nLimitMRU<0 ) nLimitMRU = -nLimitMRU;
314 /* OUTER QUERY */
315 blob_append_sql(&sql,"SELECT name, isprivate, mergeto,");
316 if( brFlags & BRL_LIST_USERS ){
317 blob_append_sql(&sql,
318 " (SELECT group_concat(user) FROM ("
319
--- src/branch.c
+++ src/branch.c
@@ -306,13 +306,12 @@
306 Blob sql;
307 blob_init(&sql, 0, 0);
308 brlist_create_temp_table();
309 /* Ignore nLimitMRU if no chronological sort requested. */
310 if( (brFlags & BRL_ORDERBY_MTIME)==0 ) nLimitMRU = 0;
311 /* Negative values for nLimitMRU also mean "no limit". */
312 if( nLimitMRU<0 ) nLimitMRU = 0;
 
313 /* OUTER QUERY */
314 blob_append_sql(&sql,"SELECT name, isprivate, mergeto,");
315 if( brFlags & BRL_LIST_USERS ){
316 blob_append_sql(&sql,
317 " (SELECT group_concat(user) FROM ("
318

Keyboard Shortcuts

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