From: Simon Hausmann Date: Wed, 31 Jan 2007 21:47:53 +0000 (+0100) Subject: Fixed displaying import progress by calling flush on stdout. X-Git-Tag: v1.5.3-rc0~65^2^2~231 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=214bed82390479bdba31337ac420bb09e9b366e9;p=git.git Fixed displaying import progress by calling flush on stdout. Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 72e01224b..a1dc54013 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"]