Fossil SCM

Remove extra "+" that was being prefixed to the parent tag in the reparent command. tag_add_artifact() already prefixes one "+" because its fifth argument is 1.

andygoth 2016-05-17 04:36 UTC reparent
Commit 6b4565002b827e36bad685b3db6d39335e7c6290
1 file changed +1 -1
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -599,11 +599,11 @@
599599
}
600600
if( bTest ){
601601
tag_insert("parent", 1, blob_str(&value), -1, 0.0, rid);
602602
}else{
603603
zUuid = rid_to_uuid(rid);
604
- tag_add_artifact("+","parent",zUuid,blob_str(&value),1,0,0);
604
+ tag_add_artifact("","parent",zUuid,blob_str(&value),1,0,0);
605605
}
606606
}
607607
608608
609609
/*
610610
--- src/tag.c
+++ src/tag.c
@@ -599,11 +599,11 @@
599 }
600 if( bTest ){
601 tag_insert("parent", 1, blob_str(&value), -1, 0.0, rid);
602 }else{
603 zUuid = rid_to_uuid(rid);
604 tag_add_artifact("+","parent",zUuid,blob_str(&value),1,0,0);
605 }
606 }
607
608
609 /*
610
--- src/tag.c
+++ src/tag.c
@@ -599,11 +599,11 @@
599 }
600 if( bTest ){
601 tag_insert("parent", 1, blob_str(&value), -1, 0.0, rid);
602 }else{
603 zUuid = rid_to_uuid(rid);
604 tag_add_artifact("","parent",zUuid,blob_str(&value),1,0,0);
605 }
606 }
607
608
609 /*
610

Keyboard Shortcuts

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