]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Bug fix.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 12 Nov 2010 23:03:22 +0000 (18:03 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 12 Nov 2010 23:03:22 +0000 (18:03 -0500)
rcs-fast-import

index 396c2c1bc0a3bbb55e10db894b4068607c673026..d6b30efc56aba34957ea5c5fb87bc1529b82ee39 100755 (executable)
@@ -652,7 +652,6 @@ class RCS:
                       % (tag.name, tag.tagger.date.rfc822()))
             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():
             do_or_die("rcs -n'%s': %s" % (event.branch, " ".join(RCS.rcsfiles())))
     def delete(self, commit, path, legend="Delete"):
@@ -670,7 +669,7 @@ class RCS:
         "Perform RCS copies. Start the copy with no history."
         uphere = os.path.basename(target)
         do_or_die("co %s" % RCS.master(source), "copy checkout")
-        os.rename(source, here)
+        os.rename(source, uphere)
         do_or_die("ci -i -m'Copy of %s' -l %s %s"
                   % (source, uphere, RCS.master(target)),
                   "copy")