Fossil SCM

Backout [6e80af7e52], as this branch enables the 'reparent' command to work without an open check-out.

florian 2019-02-07 17:39 tag-cmd-manifest-updates
Commit 3580fce8fb402b24625c0314e5d75bc5f7bddf9b16be6d56f3620640cacf8f64
1 file changed +1 -1
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -635,14 +635,14 @@
635635
char *zUuid;
636636
int dryRun = 0;
637637
const char *zDateOvrd; /* The change time on the control artifact */
638638
const char *zUserOvrd; /* The user name on the control artifact */
639639
640
- db_must_be_within_tree();
641640
if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
642641
zDateOvrd = find_option("date-override",0,1);
643642
zUserOvrd = find_option("user-override",0,1);
643
+ db_find_and_open_repository(0, 0);
644644
verify_all_options();
645645
if( g.argc<4 ){
646646
usage("[OPTIONS] CHECK-IN PARENT ...");
647647
}
648648
rid = name_to_typed_rid(g.argv[2], "ci");
649649
--- src/tag.c
+++ src/tag.c
@@ -635,14 +635,14 @@
635 char *zUuid;
636 int dryRun = 0;
637 const char *zDateOvrd; /* The change time on the control artifact */
638 const char *zUserOvrd; /* The user name on the control artifact */
639
640 db_must_be_within_tree();
641 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
642 zDateOvrd = find_option("date-override",0,1);
643 zUserOvrd = find_option("user-override",0,1);
 
644 verify_all_options();
645 if( g.argc<4 ){
646 usage("[OPTIONS] CHECK-IN PARENT ...");
647 }
648 rid = name_to_typed_rid(g.argv[2], "ci");
649
--- src/tag.c
+++ src/tag.c
@@ -635,14 +635,14 @@
635 char *zUuid;
636 int dryRun = 0;
637 const char *zDateOvrd; /* The change time on the control artifact */
638 const char *zUserOvrd; /* The user name on the control artifact */
639
 
640 if( find_option("dryrun","n",0)!=0 ) dryRun = TAG_ADD_DRYRUN;
641 zDateOvrd = find_option("date-override",0,1);
642 zUserOvrd = find_option("user-override",0,1);
643 db_find_and_open_repository(0, 0);
644 verify_all_options();
645 if( g.argc<4 ){
646 usage("[OPTIONS] CHECK-IN PARENT ...");
647 }
648 rid = name_to_typed_rid(g.argv[2], "ci");
649

Keyboard Shortcuts

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