Fossil SCM

Move the "updated-to:" text to the end of the display for the "update" command, and separately from the changed files by "---------". This at the request of the emacs integration effort.

drh 2010-11-13 23:23 trunk
Commit 3af6cf099301ba7058ce3cc9068b6010dee55151
1 file changed +2 -1
+2 -1
--- src/update.c
+++ src/update.c
@@ -113,11 +113,10 @@
113113
tid = db_int(0, "SELECT rid FROM leaves, event"
114114
" WHERE event.objid=leaves.rid"
115115
" ORDER BY event.mtime DESC");
116116
}
117117
118
- show_common_info(tid, "update-to:", 1, 0);
119118
if( !verboseFlag && (tid==vid)) return; /* Nothing to update */
120119
db_begin_transaction();
121120
vfile_check_signature(vid, 1);
122121
if( !nochangeFlag ) undo_begin();
123122
load_vfile_from_rid(tid);
@@ -286,10 +285,12 @@
286285
}
287286
}
288287
free(zFullPath);
289288
}
290289
db_finalize(&q);
290
+ printf("--------------\n");
291
+ show_common_info(tid, "updated-to:", 1, 0);
291292
292293
/*
293294
** Clean up the mid and pid VFILE entries. Then commit the changes.
294295
*/
295296
if( nochangeFlag ){
296297
--- src/update.c
+++ src/update.c
@@ -113,11 +113,10 @@
113 tid = db_int(0, "SELECT rid FROM leaves, event"
114 " WHERE event.objid=leaves.rid"
115 " ORDER BY event.mtime DESC");
116 }
117
118 show_common_info(tid, "update-to:", 1, 0);
119 if( !verboseFlag && (tid==vid)) return; /* Nothing to update */
120 db_begin_transaction();
121 vfile_check_signature(vid, 1);
122 if( !nochangeFlag ) undo_begin();
123 load_vfile_from_rid(tid);
@@ -286,10 +285,12 @@
286 }
287 }
288 free(zFullPath);
289 }
290 db_finalize(&q);
 
 
291
292 /*
293 ** Clean up the mid and pid VFILE entries. Then commit the changes.
294 */
295 if( nochangeFlag ){
296
--- src/update.c
+++ src/update.c
@@ -113,11 +113,10 @@
113 tid = db_int(0, "SELECT rid FROM leaves, event"
114 " WHERE event.objid=leaves.rid"
115 " ORDER BY event.mtime DESC");
116 }
117
 
118 if( !verboseFlag && (tid==vid)) return; /* Nothing to update */
119 db_begin_transaction();
120 vfile_check_signature(vid, 1);
121 if( !nochangeFlag ) undo_begin();
122 load_vfile_from_rid(tid);
@@ -286,10 +285,12 @@
285 }
286 }
287 free(zFullPath);
288 }
289 db_finalize(&q);
290 printf("--------------\n");
291 show_common_info(tid, "updated-to:", 1, 0);
292
293 /*
294 ** Clean up the mid and pid VFILE entries. Then commit the changes.
295 */
296 if( nochangeFlag ){
297

Keyboard Shortcuts

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