Fossil SCM

Bug fix to "update": identify the local user correctly. Contributed by Andy Bradford.

drh 2013-09-09 13:11 trunk
Commit 8e50e2e7bdddbc741943b4861d7b66bf5cffc8a6
1 file changed +1
--- src/update.c
+++ src/update.c
@@ -128,10 +128,11 @@
128128
db_must_be_within_tree();
129129
vid = db_lget_int("checkout", 0);
130130
if( vid==0 ){
131131
fossil_fatal("cannot find current version");
132132
}
133
+ user_select();
133134
if( !dryRunFlag && !internalUpdate ){
134135
autosync(SYNC_PULL + SYNC_VERBOSE*verboseFlag);
135136
}
136137
137138
/* Create any empty directories now, as well as after the update,
138139
--- 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

Keyboard Shortcuts

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