Fossil SCM

Make sure the "update" command always works the same with or without the -v option. Ticket [40a7d777a465].

drh 2011-04-18 18:25 trunk
Commit e11513631f9ca7fe07bfacddeca6e585287669b7
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( !verboseFlag && (tid==vid)) return; /* Nothing to update */
182
+ if( tid==vid ) 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( !verboseFlag && (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 ) 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