From: Eric S. Raymond Date: Fri, 12 Nov 2010 23:03:22 +0000 (-0500) Subject: Bug fix. X-Git-Tag: 0.1~38 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=5de083da524f9d866ff0ce5a4f80ff2e758545d4;p=rcs-fast-import.git Bug fix. --- diff --git a/rcs-fast-import b/rcs-fast-import index 396c2c1..d6b30ef 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -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")