Mercurial > hg
diff tests/test-push-warn.t @ 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 | e6dfb0e4eeef |
children | 7eb9ee3e6b14 |