Fossil SCM

Fix the "fossil bisect chart" so that it always shows CURRENT in between the last BAD and first GOOD.

drh 2014-08-28 15:22 UTC trunk
Commit 36d63c67d2e546a78157ed3a49f8a0e48c481270
1 file changed +2 -2
+2 -2
--- src/bisect.c
+++ src/bisect.c
@@ -206,12 +206,12 @@
206206
"SELECT bilog.seq, bilog.stat,"
207207
" substr(blob.uuid,1,16), datetime(event.mtime)"
208208
" FROM bilog, blob, event"
209209
" WHERE blob.rid=bilog.rid AND event.objid=bilog.rid"
210210
" AND event.type='ci'"
211
- " ORDER BY %s",
212
- (sortByCkinTime ? "event.mtime DESC" : "bilog.rowid ASC")
211
+ " ORDER BY %s bilog.rowid ASC",
212
+ (sortByCkinTime ? "event.mtime DESC, " : "")
213213
);
214214
while( db_step(&q)==SQLITE_ROW ){
215215
fossil_print("%3d %-7s %s %s\n",
216216
db_column_int(&q, 0),
217217
db_column_text(&q, 1),
218218
--- src/bisect.c
+++ src/bisect.c
@@ -206,12 +206,12 @@
206 "SELECT bilog.seq, bilog.stat,"
207 " substr(blob.uuid,1,16), datetime(event.mtime)"
208 " FROM bilog, blob, event"
209 " WHERE blob.rid=bilog.rid AND event.objid=bilog.rid"
210 " AND event.type='ci'"
211 " ORDER BY %s",
212 (sortByCkinTime ? "event.mtime DESC" : "bilog.rowid ASC")
213 );
214 while( db_step(&q)==SQLITE_ROW ){
215 fossil_print("%3d %-7s %s %s\n",
216 db_column_int(&q, 0),
217 db_column_text(&q, 1),
218
--- src/bisect.c
+++ src/bisect.c
@@ -206,12 +206,12 @@
206 "SELECT bilog.seq, bilog.stat,"
207 " substr(blob.uuid,1,16), datetime(event.mtime)"
208 " FROM bilog, blob, event"
209 " WHERE blob.rid=bilog.rid AND event.objid=bilog.rid"
210 " AND event.type='ci'"
211 " ORDER BY %s bilog.rowid ASC",
212 (sortByCkinTime ? "event.mtime DESC, " : "")
213 );
214 while( db_step(&q)==SQLITE_ROW ){
215 fossil_print("%3d %-7s %s %s\n",
216 db_column_int(&q, 0),
217 db_column_text(&q, 1),
218

Keyboard Shortcuts

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