Mercurial > hg
comparison tests/test-blackbox.t @ 25328:2cfb0bbf83a1
hooks: replace if-try-finally with a "with" statement
This seems like a textbook case for the new demandimport.deactivated
context manager: check if something must be done, do it, and cleanup
at the end regardless of exceptions.
The diff isn't as bad as it seems. It's just all the whitespace
changes due to needing an extra level of indentation. It looks cleaner
with `hg diff -w`.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 28 May 2015 16:42:04 -0400 |
parents | a698e088ad29 |
children | 6fbe35588433 |
comparison
equal
deleted
inserted
replaced
25327:2e7804110b14 | 25328:2cfb0bbf83a1 |
---|