Fossil SCM
Do not auto-push when creating a new private branch. Ticket [13fd567b51fac8]
Commit
649efeb43d648ee9dffe1afda787f3685baa7691
Parent
0f7f81303cab732…
1 file changed
+1
-1
+1
-1
| --- src/branch.c | ||
| +++ src/branch.c | ||
| @@ -174,11 +174,11 @@ | ||
| 174 | 174 | |
| 175 | 175 | /* Commit */ |
| 176 | 176 | db_end_transaction(0); |
| 177 | 177 | |
| 178 | 178 | /* Do an autosync push, if requested */ |
| 179 | - autosync(AUTOSYNC_PUSH); | |
| 179 | + if( !isPrivate ) autosync(AUTOSYNC_PUSH); | |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | /* |
| 183 | 183 | ** Prepare a query that will list all branches. |
| 184 | 184 | */ |
| 185 | 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 | 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 |