Mercurial > hg
comparison tests/test-completion.t @ 33823:5d286eb7009f
commit: move dirstateguard creation out of try-block
This is just a simple refactoring to make the next patch simpler. If
the dirstateguard constructor raises an exception, the finally-block
won't do anything anyway, so this is functionally equivalent (and
there is no except-block).
Differential Revision: https://phab.mercurial-scm.org/D405
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 14 Aug 2017 23:26:51 -0700 |
parents | db3dc11356ed |
children | da07367d683b |
comparison
equal
deleted
inserted
replaced
33822:42ad7cc645a4 | 33823:5d286eb7009f |
---|