changeset 560:9cac09f91728

pull: move progress to after the status call This makes progress bars behave a little nicer.
author Augie Fackler <durin42@gmail.com>
date Mon, 15 Feb 2010 10:21:59 -0600
parents 66a8bdff9ced
children 312c8c98eeff
files hgsubversion/wrappers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/wrappers.py
+++ b/hgsubversion/wrappers.py
@@ -283,8 +283,8 @@ def pull(repo, source, heads=[], force=F
                         w = hgutil.termwidth()
                         bits = (r.revnum, r.author, msg)
                         cnt += 1
-                        ui.progress('pull', cnt, total=total)
                         ui.status(('[r%d] %s: %s\n' % bits)[:w])
+                        ui.progress('pull', cnt, total=total)
 
                         meta.save_tbdelta(tbdelta)
                         close = pullfuns[have_replay](ui, meta, svn, r, tbdelta)