]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Remove an asymmetry.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 12 Nov 2010 23:13:33 +0000 (18:13 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 12 Nov 2010 23:13:33 +0000 (18:13 -0500)
rcs-fast-import

index 70b864542e9e8fb6dfd40c07920dd27d7966d6fc..2d28a0f64d736046f0cb95a551ff0c286e6254d7 100755 (executable)
@@ -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)