Differences From:
File
src/update.c
part of check-in
[fcabd4774c]
- Improvements to the CLI timeline display. When an update fails due to
multiple descendents, show all of the descendents in timeline format.
by
drh on
2007-09-13 03:52:04.
Also file
src/update.c
part of check-in
[f76192b245]
- Pulled the latest CLI, website, and sqlite changes into the importer branch.
by
aku on
2007-09-17 01:00:32.
[view]
To:
File
src/update.c
part of check-in
[9395aba4f4]
- Timeline now responses to comment and user properties.
by
drh on
2007-09-22 12:38:05.
[view]
@@ -69,14 +69,12 @@
}else{
compute_leaves(vid);
if( db_int(0, "SELECT count(*) FROM leaves")>1 ){
db_prepare(&q,
- "SELECT blob.rid, uuid, datetime(event.mtime,'localtime'),"
- " comment || ' (by ' || user || ')', 1, 1"
- " FROM event, blob"
- " WHERE event.type='ci' AND blob.rid=event.objid"
+ "%s "
" AND event.objid IN leaves"
- " ORDER BY event.mtime DESC"
+ " ORDER BY event.mtime DESC",
+ timeline_query_for_tty()
);
print_timeline(&q, 100);
db_finalize(&q);
fossil_fatal("Multiple descendents");