]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Set the roundtrip flag on the right object.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 13 Nov 2010 16:15:29 +0000 (11:15 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 13 Nov 2010 16:15:29 +0000 (11:15 -0500)
rcs-fast-import

index 0257ca508e08d87ab53659c77caea9490da95f4b..148998d77c3042706506138dad93ee850bc2c7af 100755 (executable)
@@ -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: