[PATCH 07 of 21] convert: lowercase cvsps logerror output

Martin Geisler mg at daimi.au.dk
Sat Jan 3 10:40:05 CST 2009


# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1230999320 -3600
# Node ID 493f893c2b9bccd3c45fed96280a036a69061555
# Parent  ea3f7ac4437a0ae47053a05973f883d70ee40be4
convert: lowercase cvsps logerror output

These errors are used as debug output and it is not likely that
scripts would be grepping for them.

diff --git a/hgext/convert/cvsps.py b/hgext/convert/cvsps.py
--- a/hgext/convert/cvsps.py
+++ b/hgext/convert/cvsps.py
@@ -119,7 +119,7 @@
                 prefix = ""
             directory = prefix
         except IOError:
-            raise logerror('Not a CVS sandbox')
+            raise logerror('not a CVS sandbox')
 
         if prefix and not prefix.endswith(os.sep):
             prefix += os.sep
@@ -368,7 +368,7 @@
             listsort(log, key=lambda x:x.date)
 
             if oldlog and oldlog[-1].date >= log[0].date:
-                raise logerror('Log cache overlaps with new log entries,'
+                raise logerror('log cache overlaps with new log entries,'
                                ' re-run without cache.')
 
             log = oldlog + log


More information about the Mercurial-devel mailing list