Mercurial > hg
changeset 11620:86b49e0083a7
protocol: do not translate error messages on the remote side
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 16 Jul 2010 23:02:46 +0200 |
parents | 48667abddd60 |
children | e46a8b2331a6 |
files | mercurial/wireproto.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/wireproto.py Fri Jul 16 19:02:30 2010 +0200 +++ b/mercurial/wireproto.py Fri Jul 16 23:02:46 2010 +0200 @@ -229,7 +229,7 @@ # fail early if possible if not check_heads(): - return _('unsynced changes') + return 'unsynced changes' # write bundle data to temporary file because it can be big fd, tempname = tempfile.mkstemp(prefix='hg-unbundle-') @@ -243,7 +243,7 @@ if not check_heads(): # someone else committed/pushed/unbundled while we # were transferring data - return _('unsynced changes') + return 'unsynced changes' # push can proceed fp.seek(0)