comparison hgext/children.py @ 20500:ce3f3082ec45

import: move tryone closure in cmdutil We extract the `tryone` function into the `cmdutil` module. A lot of the command context have to be passed to the utility function, but having and explicit declaration will allow extension to wrap it. This will allows use to make changeset evolution related experiment in dedicated extension. Improving the API of this function is noble goal but outside of the scope of this patches.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 11 Feb 2014 16:52:36 -0800
parents 434e5bd615fc
children 48e859e30cbf
comparison
equal deleted inserted replaced
20499:2efd608473fb 20500:ce3f3082ec45