[PATCH stable] convert: fix typos in error messages

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri Feb 24 15:12:24 CST 2012


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1330117895 7200
# Branch stable
# Node ID afff988bc1a3a32e141da1deaf187ed91958d577
# Parent  616c2e278f18984dc48b80bc56b55da626130709
convert: fix typos in error messages

diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py
--- a/hgext/convert/hg.py
+++ b/hgext/convert/hg.py
@@ -225,7 +225,7 @@ class mercurial_sink(converter_sink):
 
     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
diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py
--- a/hgext/convert/subversion.py
+++ b/hgext/convert/subversion.py
@@ -1194,5 +1194,5 @@ class svn_sink(converter_sink, commandli
         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)


More information about the Mercurial-devel mailing list