From: Eric S. Raymond Date: Thu, 11 Nov 2010 12:55:34 +0000 (-0500) Subject: Runs to completion. X-Git-Tag: 0.1~64 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=27ed8f3c3aa6c59f5869930afb41ec17e77f07fd;p=rcs-fast-import.git Runs to completion. --- diff --git a/rcs-fast-import b/rcs-fast-import index 8466e9b..4711735 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -571,15 +571,13 @@ class RCS: inargs.append(path) inargs.append(RCS.master(path)) responsible = event.authors[0] or event.committer - quotified = "" - state = 0 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 += ' -m"%s"' % event.comment.replace('"', '\\"') command += " " + " ".join(inargs) do_or_die(command, "checkin") def rename(self, source, target):