Fossil

Check-in [3580fce8]
Login

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

Overview
Comment:Backout [6e80af7e52], as this branch enables the 'reparent' command to work without an open check-out.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tag-cmd-manifest-updates
Files: files | file ages | folders
SHA3-256:3580fce8fb402b24625c0314e5d75bc5f7bddf9b16be6d56f3620640cacf8f64
User & Date: florian 2019-02-07 17:39:00
Context
2019-02-18
22:37
Fix the handling of manifest files for the "tag" and "amend" commands. check-in: 5e20a4f7 user: drh tags: trunk
2019-02-07
17:39
Backout [6e80af7e52], as this branch enables the 'reparent' command to work without an open check-out. Closed-Leaf check-in: 3580fce8 user: florian tags: tag-cmd-manifest-updates
17:37
For the 'amend' command, enable updating the "manifest" files with an open check-out. check-in: 05c1e3b9 user: florian tags: tag-cmd-manifest-updates
2019-01-04
07:54
For the 'reparent' command, make sure there's an open check-out (otherwise it will fail). check-in: 6e80af7e user: florian tags: misc-little-things
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/tag.c.

   633    633     int i;
   634    634     Blob value;
   635    635     char *zUuid;
   636    636     int dryRun = 0;
   637    637     const char *zDateOvrd;  /* The change time on the control artifact */
   638    638     const char *zUserOvrd;  /* The user name on the control artifact */
   639    639   
   640         -  db_must_be_within_tree();
   641    640     if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
   642    641     zDateOvrd = find_option("date-override",0,1);
   643    642     zUserOvrd = find_option("user-override",0,1);
          643  +  db_find_and_open_repository(0, 0);
   644    644     verify_all_options();
   645    645     if( g.argc<4 ){
   646    646       usage("[OPTIONS] CHECK-IN PARENT ...");
   647    647     }
   648    648     rid = name_to_typed_rid(g.argv[2], "ci");
   649    649     blob_init(&value, 0, 0);
   650    650     for(i=3; i<g.argc; i++){