view mercurial/ @ 1554:68ec7b9e09a4

Catch IOErrors and RepoErrors when serving repositories via hgweb.
author Thomas Arendsen Hein <>
date Thu, 17 Nov 2005 19:38:57 +0100
parents fbf2b10011aa
line wrap: on
line source

""" - internationalization support for mercurial

Copyright 2005 Matt Mackall <>

This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein by reference.

# the import from gettext is _really_ slow
# for now we use a dummy function
gettext = lambda x: x
#import gettext
#t = gettext.translation('hg', '/usr/share/locale', fallback=1)
#gettext = t.gettext