From: Eric S. Raymond Date: Sat, 13 Nov 2010 16:15:29 +0000 (-0500) Subject: Set the roundtrip flag on the right object. X-Git-Tag: 0.1~29 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=54277a25a2feb99e163e0bb8bdf335277ba1efea;p=rcs-fast-import.git Set the roundtrip flag on the right object. --- diff --git a/rcs-fast-import b/rcs-fast-import index 0257ca5..148998d 100755 --- a/rcs-fast-import +++ b/rcs-fast-import @@ -722,6 +722,7 @@ if __name__ == '__main__': print "rcs-fast-import version %s" % version vcs = RCS() + vcs.roundtrip = roundtrip try: with Repository() as repo: here = os.getcwd() @@ -733,7 +734,6 @@ if __name__ == '__main__': except OSError: raise FatalException("Couldn't create working directory.") repo.fast_import(sys.stdin, progress=verbose>0) - repo.roundtrip = roundtrip for event in repo.commits(): vcs.precommit(event) for op in event.fileops: