From: Eric S. Raymond Date: Fri, 12 Nov 2010 23:13:33 +0000 (-0500) Subject: Remove an asymmetry. X-Git-Tag: 0.1~36 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=4f114d66daa8f17704ea5c63d884af58c2241a13;p=rcs-fast-import.git Remove an asymmetry. --- 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)