projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26037d
)
Fixed displaying import progress by calling flush on stdout.
author
Simon Hausmann
<hausmann@kde.org>
Wed, 31 Jan 2007 21:47:53 +0000
(22:47 +0100)
committer
Simon Hausmann
<hausmann@kde.org>
Wed, 31 Jan 2007 21:47:53 +0000
(22:47 +0100)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/p4-fast-export.py
patch
|
blob
|
history
diff --git
a/contrib/fast-import/p4-fast-export.py
b/contrib/fast-import/p4-fast-export.py
index 72e01224bf3d75e697479a59b4c2a7d50bab1c81..a1dc54013ef6a52151690d5b1d239395e9c5f2ab 100644
(file)
--- 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"]