# HG changeset patch # User Dirkjan Ochtman # Date 1279314166 -7200 # Node ID 86b49e0083a7ce02ccb3a77b688d0e98cc97cfd2 # Parent 48667abddd6048b0c3c984d087fb0bb95c5f2fa6 protocol: do not translate error messages on the remote side diff -r 48667abddd60 -r 86b49e0083a7 mercurial/wireproto.py --- 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)