Diff
Not logged in

Differences From:

File src/branch.c part of check-in [e4517465f3] - Autosync is now working. Added autosync to tag add, tag branch and branch create. by jnc on 2007-09-25 07:19:55. [view]

To:

File src/branch.c part of check-in [fff234b77c] - Updates to the autosync logic. Add the "setting" command. by drh on 2007-09-25 20:23:52. [view]

@@ -158,14 +158,10 @@
 
   /* Commit */
   db_end_transaction(0);
 
-  /* Autosync and do a push? */
-  if( do_autosync() ){
-    g.argc=2;
-    g.argv[1]="push";
-    push_cmd();
-  }
+  /* Do an autosync push, if requested */
+  autosync(0);
 }
 
 /*
 ** COMMAND: branch