Diff
Not logged in

Differences From:

File src/tag.c part of check-in [09c4adeb6f] - Rework the tag system so that propagation to children is a property of each tag and does not depend on the tag name beginning with "br". Older tag artifacts might not work. The database will need to be rebuilt after upgrading to this version. by drh on 2007-09-22 23:41:29. [view]

To:

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

@@ -274,8 +274,15 @@
   db_begin_transaction();
   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();
+  }
 }
 
 /*
 ** COMMAND: tag