From: Eric S. Raymond Date: Thu, 11 Nov 2010 20:57:29 +0000 (-0500) Subject: Fix storage of annotated tags. X-Git-Tag: 0.1~46 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=58155e6e848fb6aa77d46c022f0ab69beefd59e3;p=rcs-fast-import.git Fix storage of annotated tags. --- diff --git a/rcs-fast-import b/rcs-fast-import index ca58903..b57ef3c 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -598,11 +598,11 @@ class RCS: 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():