changeset 957:397af94ce98c

editor: improve debug information when fetching files in replay
author Patrick Mezard <patrick@mezard.eu>
date Sun, 14 Oct 2012 12:35:13 +0100
parents 24fbba02cb8f
children 506dcb241cef
files hgsubversion/editor.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/editor.py
+++ b/hgsubversion/editor.py
@@ -184,7 +184,10 @@ class RevisionData(object):
         i = 1
         self.ui.note('\nfetching files...\n')
         for p in files:
-            self.ui.note('.')
+            if self.ui.debugflag:
+                self.ui.debug('fetching %s\n' % p)
+            else:
+                self.ui.note('.')
             self.ui.flush()
             if i % 50 == 0:
                 svn.init_ra_and_client()