Fossil

Check-in [8e50e2e7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Bug fix to "update": identify the local user correctly. Contributed by Andy Bradford.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8e50e2e7bdddbc741943b4861d7b66bf5cffc8a6
User & Date: drh 2013-09-09 13:11:36
Context
2013-09-09
13:13
Tweaks to the change log. check-in: e7202edf user: drh tags: trunk
13:11
Bug fix to "update": identify the local user correctly. Contributed by Andy Bradford. check-in: 8e50e2e7 user: drh tags: trunk
13:07
Increase the version number to 1.27 in preparation for the next release. check-in: 6950e08d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/update.c.

   126    126     setmtimeFlag = find_option("setmtime",0,0)!=0;
   127    127     capture_case_sensitive_option();
   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     ** so changes in settings are reflected now */
   139    140     if( !dryRunFlag ) ensure_empty_dirs_created();