Fossil

Check-in [6e80af7e]
Login

Check-in [6e80af7e]

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

Overview
Comment:For the 'reparent' command, make sure there's an open check-out (otherwise it will fail).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | misc-little-things
Files: files | file ages | folders
SHA3-256: 6e80af7e527cbc2b54d06db8ba8d838a7df6d9ea4de4d487e3027a945b52bc84
User & Date: florian 2019-01-04 07:54:00
References
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)
Context
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)
2019-01-04
07:56
Minor typo. ... (check-in: aedfd94d user: florian tags: misc-little-things)
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)
2019-01-02
15:31
Enhancements to the hamburger menu mechanism. ... (check-in: 724a9b8f user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/tag.c.

631
632
633
634
635
636
637

638
639
640
641
642
643
644
645
646
647
648
  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++){







>



<







631
632
633
634
635
636
637
638
639
640
641

642
643
644
645
646
647
648
  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++){