Mercurial > hgsubversion
changeset 566:4a1a68713773
rebuildmeta: use ui.progress for better user feedback
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 22 Feb 2010 13:56:11 -0600 |
parents | ebecf034e52a |
children | 04e973e65cea f74c8e98e3d2 |
files | hgsubversion/svncommands.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -97,8 +97,9 @@ def rebuildmeta(ui, repo, hg_repo_path, skipped = set() + numrevs = len(repo) for rev in repo: - + ui.progress('rebuild', rev, total=numrevs) ctx = repo[rev] convinfo = ctx.extra().get('convert_revision', None) if not convinfo: @@ -208,6 +209,7 @@ def rebuildmeta(ui, repo, hg_repo_path, and droprev(cctx.extra().get('convert_revision', '@')) == droprev(convinfo)): branchinfo.pop(branch, None) break + ui.progress('rebuild', None, total=numrevs) # save off branch info branchinfofile = open(os.path.join(svnmetadir, 'branch_info'), 'w')