diff -r f694e20193f2 -r 98e8313dcd9e mercurial/hg.py --- a/mercurial/hg.py Tue Jun 07 12:10:01 2016 +0200 +++ b/mercurial/hg.py Tue Jun 14 11:53:55 2016 +0200 @@ -484,7 +484,8 @@ sharepath = os.path.join( sharepool, hashlib.sha1(source).hexdigest()) else: - raise error.Abort('unknown share naming mode: %s' % sharenamemode) + raise error.Abort(_('unknown share naming mode: %s') % + sharenamemode) if sharepath: return clonewithshare(ui, peeropts, sharepath, source, srcpeer,