]> thyrsus.com Git - rcs-fast-import.git/commitdiff
Enable the twirling-baton prompt.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 11 Nov 2010 15:29:56 +0000 (10:29 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 11 Nov 2010 15:29:56 +0000 (10:29 -0500)
rcs-fast-import
rcs-fast-import.xml

index 9f9ea2379f324de1abdd32aebbca17f458d02762..c34cde9da45f8ee5bce28953d5befbcf7afb6353 100755 (executable)
@@ -16,7 +16,7 @@ Break the content of a git-fast-import stream on stdin into individual RCS
 master files in RCS subdirectories of the corresponding directory structure.
 
 With the -v option, emit a twirling-baton prompt during stream read, and
-progress messages during RCS writes.
+more progress messages during RCS writes.
 
 With the -l option, check out and lock all resulting files at their latest
 revisions; with the -u option, check out but do not lock.
@@ -281,7 +281,7 @@ class Repository:
                 os.mkdir(self.subdir())
             except OSError:
                 self.error("can't create operating directory", atline=False)
-            with Baton("rcs-fast-import: from %s" % os.path.relpath(fp.name), enable=progress) as baton:
+            with Baton("rcs-fast-import:", enable=progress) as baton:
                 self.import_line = 0
                 linebuffers = []
                 ncommits = 0
@@ -639,7 +639,7 @@ if __name__ == '__main__':
     vcs = RCS()
     try:
         with Repository() as repo:
-            repo.fast_import(sys.stdin)
+            repo.fast_import(sys.stdin, progress=verbose>0)
             for event in repo.commits():
                 committables = []
                 for op in event.fileops:
index 279ce5fd4087f38a5face21d7aef38d7e64abbd8..d41777c88f3eceb432bf8d061425839a83412670 100644 (file)
@@ -35,7 +35,7 @@ stdin into individual RCS master files in RCS subdirectories of the
 corresponding directory structure.</para>
 
 <para>With the -v option, emit a twirling-baton prompt during stream read, and
-progress messages during RCS writes.</para>
+more progress messages during RCS writes.</para>
 
 <para>With the -l option, check out and lock all resulting files at their latest
 revisions; with the -u option, check out but do not lock.</para>