diff options
author | Simon Hausmann <hausmann@kde.org> | 2007-01-31 22:47:53 +0100 |
---|---|---|
committer | Simon Hausmann <hausmann@kde.org> | 2007-01-31 22:47:53 +0100 |
commit | 214bed82390479bdba31337ac420bb09e9b366e9 (patch) | |
tree | ab061ce6ba4dbcfa17d76a27c041b1a0ff338e1d | |
parent | Permit calling p4-fast-export with a depot path that has the typical ... wild... (diff) | |
download | tgif-214bed82390479bdba31337ac420bb09e9b366e9.tar.xz |
Fixed displaying import progress by calling flush on stdout.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
-rw-r--r-- | contrib/fast-import/p4-fast-export.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 72e01224bf..a1dc54013e 100644 --- a/contrib/fast-import/p4-fast-export.py +++ b/contrib/fast-import/p4-fast-export.py @@ -91,6 +91,7 @@ for change in changes: description = p4Cmd("describe %s" % change) sys.stdout.write("\rimporting revision %s (%s%%)" % (change, cnt * 100 / len(changes))) + sys.stdout.flush() cnt = cnt + 1 epoch = description["time"] |