changeset 16932:7985a9e2ddce

win32text: lowercase warning message
author Martin Geisler <mg@aragost.com>
date Tue, 12 Jun 2012 14:18:18 +0200
parents ee388b0a6f67
children 30143c3dd102
files hgext/win32text.py tests/test-mactext.t tests/test-win32text.t
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/win32text.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/hgext/win32text.py	Tue Jun 12 14:18:18 2012 +0200
@@ -130,7 +130,7 @@
             data = c[f].data()
             if not util.binary(data) and newline in data:
                 if not halt:
-                    ui.warn(_('Attempt to commit or push text file(s) '
+                    ui.warn(_('attempt to commit or push text file(s) '
                               'using %s line endings\n') %
                               newlinestr[newline])
                 ui.warn(_('in %s: %s\n') % (short(c.node()), f))
--- a/tests/test-mactext.t	Tue Jun 12 14:18:18 2012 +0200
+++ b/tests/test-mactext.t	Tue Jun 12 14:18:18 2012 +0200
@@ -26,7 +26,7 @@
 
   $ python unix2mac.py f
   $ hg ci -m 2
-  Attempt to commit or push text file(s) using CR line endings
+  attempt to commit or push text file(s) using CR line endings
   in dea860dc51ec: f
   transaction abort!
   rollback completed
--- a/tests/test-win32text.t	Tue Jun 12 14:18:18 2012 +0200
+++ b/tests/test-win32text.t	Tue Jun 12 14:18:18 2012 +0200
@@ -33,7 +33,7 @@
 commit should fail
 
   $ hg ci -m 2.1
-  Attempt to commit or push text file(s) using CRLF line endings
+  attempt to commit or push text file(s) using CRLF line endings
   in f583ea08d42a: f
   transaction abort!
   rollback completed
@@ -57,7 +57,7 @@
   adding manifests
   adding file changes
   added 2 changesets with 2 changes to 2 files
-  Attempt to commit or push text file(s) using CRLF line endings
+  attempt to commit or push text file(s) using CRLF line endings
   in bc2d09796734: g
   in b1aa5cde7ff4: f
   
@@ -105,7 +105,7 @@
   $ python unix2dos.py d/f2
   $ hg add d/f2
   $ hg ci -m 3
-  Attempt to commit or push text file(s) using CRLF line endings
+  attempt to commit or push text file(s) using CRLF line endings
   in 053ba1a3035a: d/f2
   transaction abort!
   rollback completed
@@ -266,7 +266,7 @@
   adding manifests
   adding file changes
   added 3 changesets with 4 changes to 4 files
-  Attempt to commit or push text file(s) using CRLF line endings
+  attempt to commit or push text file(s) using CRLF line endings
   in 67ac5962ab43: d
   in 68c127d1834e: b
   in 68c127d1834e: c