do_or_die("ci -i -m'%s of %s' -l %s %s"
% (legend, source, uphere, RCS.master(target)),
legend.lower())
+ # FIXME: Must hack the date on the copty so RCS won't barf.
RCS.record("C", source)
RCS.record("T", target)
os.remove(uphere)
def rename(self, commit, source, target):
"Perform RCS renames, carrying history with the rename."
- shutil.copy(RCS.master(source), RCS.master(target))
- RCS.record("R", source)
- RCS.record("U", target)
- # History is *not* removed from the source
+ self.copy(commit, source, target, legend="Rename")
self.delete(commit, source, legend="Rename")
def checkout(self, switch):
"Post-conversion actions."