Mercurial > hg
view tests/test-hghave.t @ 14727:d4b9d3b91ce7 stable
dispatch: check for None before closing repo
We were trying to call close() if repo == None and req.repo != None.
This can happen when running commands that don't take a repo.
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Fri, 24 Jun 2011 16:30:43 +0300 |
parents | 60738066e37a |
children | 4d2b9b304ad0 |
line wrap: on
line source
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null