From 5de083da524f9d866ff0ce5a4f80ff2e758545d4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 12 Nov 2010 18:03:22 -0500 Subject: [PATCH] Bug fix. --- rcs-fast-import | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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") -- 2.43.0