Fossil SCM
Bug fix to "update": identify the local user correctly. Contributed by Andy Bradford.
Commit
8e50e2e7bdddbc741943b4861d7b66bf5cffc8a6
Parent
6950e08d079afd0…
1 file changed
+1
+1
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -128,10 +128,11 @@ | ||
| 128 | 128 | db_must_be_within_tree(); |
| 129 | 129 | vid = db_lget_int("checkout", 0); |
| 130 | 130 | if( vid==0 ){ |
| 131 | 131 | fossil_fatal("cannot find current version"); |
| 132 | 132 | } |
| 133 | + user_select(); | |
| 133 | 134 | if( !dryRunFlag && !internalUpdate ){ |
| 134 | 135 | autosync(SYNC_PULL + SYNC_VERBOSE*verboseFlag); |
| 135 | 136 | } |
| 136 | 137 | |
| 137 | 138 | /* Create any empty directories now, as well as after the update, |
| 138 | 139 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -128,10 +128,11 @@ | |
| 128 | db_must_be_within_tree(); |
| 129 | vid = db_lget_int("checkout", 0); |
| 130 | if( vid==0 ){ |
| 131 | fossil_fatal("cannot find current version"); |
| 132 | } |
| 133 | if( !dryRunFlag && !internalUpdate ){ |
| 134 | autosync(SYNC_PULL + SYNC_VERBOSE*verboseFlag); |
| 135 | } |
| 136 | |
| 137 | /* Create any empty directories now, as well as after the update, |
| 138 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -128,10 +128,11 @@ | |
| 128 | db_must_be_within_tree(); |
| 129 | vid = db_lget_int("checkout", 0); |
| 130 | if( vid==0 ){ |
| 131 | fossil_fatal("cannot find current version"); |
| 132 | } |
| 133 | user_select(); |
| 134 | if( !dryRunFlag && !internalUpdate ){ |
| 135 | autosync(SYNC_PULL + SYNC_VERBOSE*verboseFlag); |
| 136 | } |
| 137 | |
| 138 | /* Create any empty directories now, as well as after the update, |
| 139 |