Fossil SCM
Remove a hack that no longer works after calling `verify_all_options()'.
Commit
a4fc47ad4a4694d1f3ac906d6fe37b0cd3e26e17d82cef603ca2220b655394f9
Parent
b2ab66ea0dec6fd…
1 file changed
+2
-3
+2
-3
| --- src/branch.c | ||
| +++ src/branch.c | ||
| @@ -306,13 +306,12 @@ | ||
| 306 | 306 | Blob sql; |
| 307 | 307 | blob_init(&sql, 0, 0); |
| 308 | 308 | brlist_create_temp_table(); |
| 309 | 309 | /* Ignore nLimitMRU if no chronological sort requested. */ |
| 310 | 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; | |
| 311 | + /* Negative values for nLimitMRU also mean "no limit". */ | |
| 312 | + if( nLimitMRU<0 ) nLimitMRU = 0; | |
| 314 | 313 | /* OUTER QUERY */ |
| 315 | 314 | blob_append_sql(&sql,"SELECT name, isprivate, mergeto,"); |
| 316 | 315 | if( brFlags & BRL_LIST_USERS ){ |
| 317 | 316 | blob_append_sql(&sql, |
| 318 | 317 | " (SELECT group_concat(user) FROM (" |
| 319 | 318 |
| --- 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 |