# HG changeset patch # User Martin Geisler # Date 2012-06-12 12:18:18 # Node ID eaf6a6d7f0151d1661104bf04f692ff0db05d8eb # Parent 21b12b22c0246c2d0cc5f46b90df381d894343bb convert: lowercase status and abort messages diff --git a/hgext/convert/convcmd.py b/hgext/convert/convcmd.py --- a/hgext/convert/convcmd.py +++ b/hgext/convert/convcmd.py @@ -280,7 +280,7 @@ class converter(object): def writeauthormap(self): authorfile = self.authorfile if authorfile: - self.ui.status(_('Writing author map file %s\n') % authorfile) + self.ui.status(_('writing author map file %s\n') % authorfile) ofile = open(authorfile, 'w+') for author in self.authors: ofile.write("%s=%s\n" % (author, self.authors[author])) @@ -297,7 +297,7 @@ class converter(object): try: srcauthor, dstauthor = line.split('=', 1) except ValueError: - msg = _('Ignoring bad line in author map file %s: %s\n') + msg = _('ignoring bad line in author map file %s: %s\n') self.ui.warn(msg % (authorfile, line.rstrip())) continue diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -227,7 +227,7 @@ class svn_source(converter_source): raise NoRepo(_("%s does not look like a Subversion repository") % url) if svn is None: - raise MissingTool(_('Could not load Subversion python bindings')) + raise MissingTool(_('could not load Subversion python bindings')) try: version = svn.core.SVN_VER_MAJOR, svn.core.SVN_VER_MINOR diff --git a/tests/test-convert-authormap.t b/tests/test-convert-authormap.t --- a/tests/test-convert-authormap.t +++ b/tests/test-convert-authormap.t @@ -22,12 +22,12 @@ Explicit --authors > EOF $ hg convert --authors authormap.txt orig new initializing destination new repository - Ignoring bad line in author map file authormap.txt: this line is ignored + ignoring bad line in author map file authormap.txt: this line is ignored scanning source... sorting... converting... 0 foo - Writing author map file $TESTTMP/new/.hg/authormap (glob) + writing author map file $TESTTMP/new/.hg/authormap $ cat new/.hg/authormap user name=Long User Name $ hg -Rnew log @@ -44,7 +44,7 @@ Implicit .hg/authormap $ hg init new $ mv authormap.txt new/.hg/authormap $ hg convert orig new - Ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored (glob) + ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored scanning source... sorting... converting...