From 4f114d66daa8f17704ea5c63d884af58c2241a13 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 12 Nov 2010 18:13:33 -0500 Subject: [PATCH] Remove an asymmetry. --- rcs-fast-import | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcs-fast-import b/rcs-fast-import index 70b8645..2d28a0f 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -665,7 +665,7 @@ class RCS: do_or_die(command, legend.lower()) RCS.record("D", path) os.remove(path) - def copy(self, source, target, legend="Copy"): + def copy(self, commit, source, target, legend="Copy"): "Perform RCS copies. Start the copy with no history." uphere = os.path.basename(target) do_or_die("co %s" % RCS.master(source), legend) @@ -740,7 +740,7 @@ if __name__ == '__main__': if verbose: announce("%5s C '%s' '%s'" % (event.mark, op.source, op.target)) if not dryrun: - vcs.copy(ops.source, op.target) + vcs.copy(commit, ops.source, op.target) else: raise FatalException("unknown op type %s" % op.op) vcs.postcommit(event) -- 2.43.0