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)
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)