Differences From:
File
src/update.c
part of check-in
[107f38dd01]
- Make "revert" complain about excess arguments. Ticket 36d5fbf9a4.
by
eric on
2009-10-27 20:15:30.
[view]
To:
File
src/update.c
part of check-in
[f57990b65a]
- Alway run autosync prior to an "update" even when specifying a specific
check-in to update to.
by
drh on
2009-11-03 19:43:36.
[view]
@@ -79,18 +79,9 @@
if( !is_a_version(tid) ){
fossil_fatal("not a version: %s", g.argv[2]);
}
}
-
- if( tid==0 ){
- /*
- ** Do an autosync pull prior to the update, if autosync is on and they
- ** did not want a specific version (i.e. another branch, a past revision).
- ** By not giving a specific version, they are asking for the latest, thus
- ** pull to get the latest, then update.
- */
- autosync(AUTOSYNC_PULL);
- }
+ autosync(AUTOSYNC_PULL);
if( tid==0 ){
compute_leaves(vid, 1);
if( !latestFlag && db_int(0, "SELECT count(*) FROM leaves")>1 ){