Diff
Not logged in

Differences From:

File src/tag.c part of check-in [ce7900a0b6] - Correct tag propagationl. Now works even when rebuilding in a randomized order. by drh on 2007-09-25 08:38:24. [view]

To:

File src/tag.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]

@@ -291,14 +291,10 @@
   nrid = content_put(&ctrl, 0, 0);
   manifest_crosslink(nrid, &ctrl);
   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: tag