localrepo: lowercase "unexpected response" message
authorMartin Geisler <mg@aragost.com>
Tue, 12 Jun 2012 14:18:18 +0200
changeset 16941 a1eb17bed550
parent 16940 6409a5c75125
child 16942 87882c8753d4
localrepo: lowercase "unexpected response" message
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue Jun 12 14:18:18 2012 +0200
+++ b/mercurial/localrepo.py	Tue Jun 12 14:18:18 2012 +0200
@@ -2230,7 +2230,7 @@
                 resp = int(l)
             except ValueError:
                 raise error.ResponseError(
-                    _('Unexpected response from remote server:'), l)
+                    _('unexpected response from remote server:'), l)
             if resp == 1:
                 raise util.Abort(_('operation forbidden by server'))
             elif resp == 2:
@@ -2243,7 +2243,7 @@
                 total_files, total_bytes = map(int, l.split(' ', 1))
             except (ValueError, TypeError):
                 raise error.ResponseError(
-                    _('Unexpected response from remote server:'), l)
+                    _('unexpected response from remote server:'), l)
             self.ui.status(_('%d files to transfer, %s of data\n') %
                            (total_files, util.bytecount(total_bytes)))
             handled_bytes = 0
@@ -2257,7 +2257,7 @@
                     size = int(size)
                 except (ValueError, TypeError):
                     raise error.ResponseError(
-                        _('Unexpected response from remote server:'), l)
+                        _('unexpected response from remote server:'), l)
                 if self.ui.debugflag:
                     self.ui.debug('adding %s (%s)\n' %
                                   (name, util.bytecount(size)))