Mercurial > hg
view tests/missing-comment.hg @ 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 | 168cc52ad7c2 |
children |