Mercurial > hg
diff i18n/hggettext @ 29634:8421cbebc783 stable
keyword: avoid traceback when kwdemo is run outside a repo
f0564402d059 causes a fatal AttributeError if kwdemo is run outside a repo
because in the temporary repo creation repo is None and therefore cannot have a
baseui attribute.
In this case fall back to using ui.
Add test case.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 27 Jul 2016 13:57:51 +0100 |
parents | de28dedd1ff1 |
children | 041fecbb588a |