announce("copying %s to %s" % (os.path.relpath(copyfile), path))
if not dryrun:
shutil.copy(copyfile, path)
- responsible = event.authors[0] or event.committer
- command = "ci -l"
- # If we were going to try to match committer or author
- # email addresses to local names, this would be the place
- # to do it. Not a whole lot of point in trying, though.
- #command += " -w%s" % responsible.email
- command += " -d'%s'" % responsible.date.rfc822()
- command += " " + " ".join(inargs)
- with popen_or_die(command, "checkin", "w") as fp:
- fp.write(event.comment)
+ responsible = event.authors[0] or event.committer
+ command = "ci -l"
+ # If we were going to try to match committer or author
+ # email addresses to local names, this would be the place
+ # to do it. Not a whole lot of point in trying, though.
+ #command += " -w%s" % responsible.email
+ command += " -d'%s'" % responsible.date.rfc822()
+ command += " -m%s" % `event.comment`
+ command += " " + " ".join(inargs)
+ do_or_die(command, "checkin")
def rename(self, source, target):
"Perform RCS renames."
# Dodgy, but since user is more likely to be