Check-in [f57990b65a]
Not logged in
Overview

SHA1 Hash:f57990b65abcacd7b7fb0465ae36dc8b92122267
Date: 2009-11-03 19:43:36
User: drh
Comment:Alway run autosync prior to an "update" even when specifying a specific check-in to update to.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/update.c from [6e48a71126] to [1958612a85].

@@ -78,20 +78,11 @@
     }
     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 ){
       db_prepare(&q,