convert: fix typos in error messages stable
authorWagner Bruna <wbruna@softwareexpress.com.br>
Fri, 24 Feb 2012 19:11:35 -0200
branchstable
changeset 16162 7e279d475669
parent 16156 e7746fefd1ef
child 16163 807f796e9b1a
convert: fix typos in error messages
hgext/convert/hg.py
hgext/convert/subversion.py
tests/test-convert-splicemap.t
--- 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