# HG changeset patch # User Dirkjan Ochtman # Date 2010-07-16 21:02:46 # Node ID 86b49e0083a7ce02ccb3a77b688d0e98cc97cfd2 # Parent 48667abddd6048b0c3c984d087fb0bb95c5f2fa6 protocol: do not translate error messages on the remote side diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py --- a/mercurial/wireproto.py +++ b/mercurial/wireproto.py @@ -229,7 +229,7 @@ def unbundle(repo, proto, heads): # 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 @@ def unbundle(repo, proto, heads): 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)