Fossil SCM

Do not auto-push when creating a new private branch. Ticket [13fd567b51fac8]

drh 2011-08-23 15:14 trunk
Commit 649efeb43d648ee9dffe1afda787f3685baa7691
1 file changed +1 -1
+1 -1
--- src/branch.c
+++ src/branch.c
@@ -174,11 +174,11 @@
174174
175175
/* Commit */
176176
db_end_transaction(0);
177177
178178
/* Do an autosync push, if requested */
179
- autosync(AUTOSYNC_PUSH);
179
+ if( !isPrivate ) autosync(AUTOSYNC_PUSH);
180180
}
181181
182182
/*
183183
** Prepare a query that will list all branches.
184184
*/
185185
--- src/branch.c
+++ src/branch.c
@@ -174,11 +174,11 @@
174
175 /* Commit */
176 db_end_transaction(0);
177
178 /* Do an autosync push, if requested */
179 autosync(AUTOSYNC_PUSH);
180 }
181
182 /*
183 ** Prepare a query that will list all branches.
184 */
185
--- src/branch.c
+++ src/branch.c
@@ -174,11 +174,11 @@
174
175 /* Commit */
176 db_end_transaction(0);
177
178 /* Do an autosync push, if requested */
179 if( !isPrivate ) autosync(AUTOSYNC_PUSH);
180 }
181
182 /*
183 ** Prepare a query that will list all branches.
184 */
185

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button