]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Fix storage of annotated tags.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 11 Nov 2010 20:57:29 +0000 (15:57 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 11 Nov 2010 20:57:29 +0000 (15:57 -0500)
rcs-fast-import

index ca58903a50c84adb9752cae8274ebe5bea7077ed..b57ef3c7d59e06eeee723925ced5cc9b7581ceb8 100755 (executable)
@@ -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():