Check-in [0431f14edf]
Not logged in
Overview

SHA1 Hash:0431f14edfbc452aea7f3981e03cfb306121551e
Date: 2007-09-25 07:11:57
User: jnc
Comment:Once a successful commit is made, if autosync is on, a push is now done. This commit will be the first test of that new functionality :-)
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/checkin.c from [484fa282d6] to [45c26e70ac].

@@ -523,6 +523,13 @@
   /* Clear the undo/redo stack */
   undo_reset();
 
   /* Commit */
   db_end_transaction(0);
+
+  /* Autosync and do a push? */
+  if( do_autosync() ){
+    g.argc=2;
+    g.argv[1]="push";
+    push_cmd();
+  }
 }