changeset 8611:ba42e3c6e602

convert: better feedback when filtering out empty revisions Original patch by Herbert Griebel <herbertg@gmx.at>
author Patrick Mezard <pmezard@gmail.com>
date Sun, 24 May 2009 18:30:59 +0200
parents 8ef1f63e554c
children e10e984bea46
files hgext/convert/hg.py tests/test-convert-cvs-builtincvsps.out tests/test-convert-cvs.out
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/hg.py	Thu May 21 17:09:12 2009 +0900
+++ b/hgext/convert/hg.py	Sun May 24 18:30:59 2009 +0200
@@ -155,6 +155,7 @@
             man = self.repo.manifest
             mnode = self.repo.changelog.read(bin(p2))[0]
             if not man.cmp(m1node, man.revision(mnode)):
+                self.ui.status(_("filtering out empty revision\n"))
                 self.repo.rollback()
                 return parent
         return p2
--- a/tests/test-convert-cvs-builtincvsps.out	Thu May 21 17:09:12 2009 +0900
+++ b/tests/test-convert-cvs-builtincvsps.out	Sun May 24 18:30:59 2009 +0200
@@ -42,6 +42,7 @@
 converting...
 2 Initial revision
 1 import
+filtering out empty revision
 rolling back last transaction
 0 ci0
 updating tags
--- a/tests/test-convert-cvs.out	Thu May 21 17:09:12 2009 +0900
+++ b/tests/test-convert-cvs.out	Sun May 24 18:30:59 2009 +0200
@@ -34,6 +34,7 @@
 converting...
 2 Initial revision
 1 import
+filtering out empty revision
 rolling back last transaction
 0 ci0
 updating tags