# HG changeset patch # User Augie Fackler # Date 1266250919 21600 # Node ID 9cac09f91728dbff01062bafb6ce74462112406c # Parent 66a8bdff9cedf46088dca5b814fba902bdc59b67 pull: move progress to after the status call This makes progress bars behave a little nicer. diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- 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)