changeset 853:5e1323a186fd

svn verify: progress information
author Augie Fackler <durin42@gmail.com>
date Sat, 21 Jan 2012 20:06:33 -0600
parents 8a226f0f99aa
children cfee8d1eff88
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
@@ -49,7 +49,9 @@ def verify(ui, repo, args=None, **opts):
     svnfiles = set()
     result = 0
 
-    for fn, type in svn.list_files(branchpath, srev):
+    svndata = svn.list_files(branchpath, srev)
+    for i, (fn, type) in enumerate(svndata):
+        util.progress(ui, 'verify', i)
         if type != 'f':
             continue
         svnfiles.add(fn)