os.remove(path)
# Save annotated tags for round-tripping
for tag in event.taglist:
- with file("RCS/ANNOTATED-TAGS", "w") as fp:
+ with file("ANNOTATED-TAGS", "w") as fp:
fp.write(tag.email_out())
- do_or_die("ci -l -m'Annotated tag %s' -d'%s' RCS/ANNOTATED-TAGS,v"
+ do_or_die("ci -l -m'Annotated tag %s' -d'%s' ANNOTATED-TAGS,v"
% (tag.name, tag.tagger.date.rfc822()))
- os.remove("RCS/ANNOTATED-TAGS")
+ os.remove("ANNOTATED-TAGS")
do_or_die("rcs -n'%s': %s" % (tag.name, " ".join(RCS.rcsfiles())))
# FIXME: Someday, do real branch structure here.
if event.is_tip():