From: Eric S. Raymond Date: Thu, 11 Nov 2010 03:36:28 +0000 (-0500) Subject: This is a large improvement. X-Git-Tag: 0.1~68 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=962f7936a367853e187f66d75710d95b46f26a47;p=rcs-fast-import.git This is a large improvement. --- diff --git a/rcs-fast-import b/rcs-fast-import index 8127b6d..8469a93 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -564,16 +564,16 @@ class RCS: 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