Check-in [3580fce8fb]
Not logged in

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.
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: 5e20a4f7a8 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: 3580fce8fb 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: 05c1e3b958 user: florian tags: tag-cmd-manifest-updates
Changes

Changes to src/tag.c.

633
634
635
636
637
638
639
640
641
642
643

644
645
646
647
648
649
650
  int i;
  Blob value;
  char *zUuid;
  int dryRun = 0;
  const char *zDateOvrd;  /* The change time on the control artifact */
  const char *zUserOvrd;  /* The user name on the control artifact */

  db_must_be_within_tree();
  if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
  zDateOvrd = find_option("date-override",0,1);
  zUserOvrd = find_option("user-override",0,1);

  verify_all_options();
  if( g.argc<4 ){
    usage("[OPTIONS] CHECK-IN PARENT ...");
  }
  rid = name_to_typed_rid(g.argv[2], "ci");
  blob_init(&value, 0, 0);
  for(i=3; i<g.argc; i++){







<



>







633
634
635
636
637
638
639

640
641
642
643
644
645
646
647
648
649
650
  int i;
  Blob value;
  char *zUuid;
  int dryRun = 0;
  const char *zDateOvrd;  /* The change time on the control artifact */
  const char *zUserOvrd;  /* The user name on the control artifact */


  if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
  zDateOvrd = find_option("date-override",0,1);
  zUserOvrd = find_option("user-override",0,1);
  db_find_and_open_repository(0, 0);
  verify_all_options();
  if( g.argc<4 ){
    usage("[OPTIONS] CHECK-IN PARENT ...");
  }
  rid = name_to_typed_rid(g.argv[2], "ci");
  blob_init(&value, 0, 0);
  for(i=3; i<g.argc; i++){