Fossil

Check-in [6b456500]
Login

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

Overview
Comment: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.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | reparent
Files: files | file ages | folders
SHA1:6b4565002b827e36bad685b3db6d39335e7c6290
User & Date: andygoth 2016-05-17 04:36:50
Context
2016-05-23
15:37
Merge trunk check-in: 1d2e7407 user: andygoth tags: reparent
2016-05-17
04:36
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. check-in: 6b456500 user: andygoth tags: reparent
00:46
Add logic to process "parent" tags. Add the "reparent" command used to create an appropriate parent tag to cause a check-in to be reparented. check-in: 5c5a364d user: drh tags: reparent
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/tag.c.

597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
    blob_append(&value, zUuid, UUID_SIZE);
    fossil_free(zUuid);
  }
  if( bTest ){
    tag_insert("parent", 1, blob_str(&value), -1, 0.0, rid);
  }else{
    zUuid = rid_to_uuid(rid);
    tag_add_artifact("+","parent",zUuid,blob_str(&value),1,0,0);
  }
}


/*
** WEBPAGE: taglist
**







|







597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
    blob_append(&value, zUuid, UUID_SIZE);
    fossil_free(zUuid);
  }
  if( bTest ){
    tag_insert("parent", 1, blob_str(&value), -1, 0.0, rid);
  }else{
    zUuid = rid_to_uuid(rid);
    tag_add_artifact("","parent",zUuid,blob_str(&value),1,0,0);
  }
}


/*
** WEBPAGE: taglist
**