changeset 16162:7e279d475669 stable

convert: fix typos in error messages
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Fri, 24 Feb 2012 19:11:35 -0200
parents e7746fefd1ef
children 807f796e9b1a
files hgext/convert/hg.py hgext/convert/subversion.py tests/test-convert-splicemap.t
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/hg.py	Thu Feb 23 17:46:57 2012 +0100
+++ b/hgext/convert/hg.py	Fri Feb 24 19:11:35 2012 -0200
@@ -225,7 +225,7 @@
 
     def hascommit(self, rev):
         if not rev in self.repo and self.clonebranches:
-            raise util.Abort(_('revision %s not be found in destination '
+            raise util.Abort(_('revision %s not found in destination '
                                'repository (lookups with clonebranches=true '
                                'are not implemented)') % rev)
         return rev in self.repo
--- a/hgext/convert/subversion.py	Thu Feb 23 17:46:57 2012 +0100
+++ b/hgext/convert/subversion.py	Fri Feb 24 19:11:35 2012 -0200
@@ -1194,5 +1194,5 @@
         if rev in self.childmap:
             return True
         raise util.Abort(_('splice map revision %s not found in subversion '
-                           'child map (revision lookups are not implemented')
+                           'child map (revision lookups are not implemented)')
                          % rev)
--- a/tests/test-convert-splicemap.t	Thu Feb 23 17:46:57 2012 +0100
+++ b/tests/test-convert-splicemap.t	Fri Feb 24 19:11:35 2012 -0200
@@ -203,7 +203,7 @@
   >   --splicemap splicemap ordered ordered-hg3
   initializing destination ordered-hg3 repository
   scanning source...
-  abort: revision 717d54d67e6c31fd75ffef2ff3042bdd98418437 not be found in destination repository (lookups with clonebranches=true are not implemented)
+  abort: revision 717d54d67e6c31fd75ffef2ff3042bdd98418437 not found in destination repository (lookups with clonebranches=true are not implemented)
   [255]
 
 Test invalid dependency