Fossil SCM

Do not short-circuit the update command if the --verbose option is used.

drh 2011-05-20 12:29 trunk
Commit 3b5db9a10ef653cc3115bc8caf050e63fe52c8d6
1 file changed +1 -1
+1 -1
--- src/update.c
+++ src/update.c
@@ -177,11 +177,11 @@
177177
tid = db_int(0, "SELECT rid FROM leaves, event"
178178
" WHERE event.objid=leaves.rid"
179179
" ORDER BY event.mtime DESC");
180180
}
181181
182
- if( tid==vid ) return; /* Nothing to update */
182
+ if( tid==vid && !verboseFlag ) return; /* Nothing to update */
183183
db_begin_transaction();
184184
vfile_check_signature(vid, 1, 0);
185185
if( !nochangeFlag && !internalUpdate ) undo_begin();
186186
load_vfile_from_rid(tid);
187187
188188
--- src/update.c
+++ src/update.c
@@ -177,11 +177,11 @@
177 tid = db_int(0, "SELECT rid FROM leaves, event"
178 " WHERE event.objid=leaves.rid"
179 " ORDER BY event.mtime DESC");
180 }
181
182 if( tid==vid ) return; /* Nothing to update */
183 db_begin_transaction();
184 vfile_check_signature(vid, 1, 0);
185 if( !nochangeFlag && !internalUpdate ) undo_begin();
186 load_vfile_from_rid(tid);
187
188
--- src/update.c
+++ src/update.c
@@ -177,11 +177,11 @@
177 tid = db_int(0, "SELECT rid FROM leaves, event"
178 " WHERE event.objid=leaves.rid"
179 " ORDER BY event.mtime DESC");
180 }
181
182 if( tid==vid && !verboseFlag ) return; /* Nothing to update */
183 db_begin_transaction();
184 vfile_check_signature(vid, 1, 0);
185 if( !nochangeFlag && !internalUpdate ) undo_begin();
186 load_vfile_from_rid(tid);
187
188

Keyboard Shortcuts

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