changeset 4792:2b5723a5b186

convert: svn: move some debug output to verbose
author Brendan Cully <brendan@kublai.com>
date Tue, 03 Jul 2007 13:50:26 -0700
parents 772687e437e5
children 9f20f4b205ba
files hgext/convert/subversion.py
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Tue Jul 03 12:56:30 2007 -0700
+++ b/hgext/convert/subversion.py	Tue Jul 03 13:50:26 2007 -0700
@@ -187,7 +187,8 @@
             if revnum > from_revnum:
                 from_revnum = revnum
 
-        self.ui.debug('Fetching revisions %d to %d\n' % (from_revnum, to_revnum))
+        self.ui.note('fetching revision log from %d to %d\n' % \
+                     (from_revnum, to_revnum))
 
         def get_entry_from_path(path, module=self.module):
             # Given the repository url of this wc, say
@@ -219,6 +220,10 @@
                 received.append((orig_paths, revnum, author, date, message))
            
         def after_received(orig_paths, revnum, author, date, message):
+            self.ui.note("parsing revision %d\n" % revnum)
+            if orig_paths is None:
+                return
+
             if revnum in self.modulemap:
                 new_module = self.modulemap[revnum]
                 if new_module != self.module:
@@ -228,10 +233,6 @@
             copyfrom = {} # Map of entrypath, revision for finding source of deleted revisions.
             copies = {}
             entries = []
-            self.ui.debug("Parsing revision %d\n" % revnum)
-            if orig_paths is None:
-                return
-
             rev = self.rev(revnum)
             try:
                 branch = self.module.split("/")[-1]