comparison mercurial/hook.py @ 32433:7feaf5550a9e

cmdutil: extract closure that performs the actual export formatting This simplifies things a little by making the actual act of turning a revision into patch data a single function. After this, adding formatter support to `hg export` should be much simpler.
author Augie Fackler <augie@google.com>
date Mon, 22 May 2017 13:34:03 -0400
parents aff7b32b3c05
children 4b426ae96ff2
comparison
equal deleted inserted replaced
32432:75544176bc28 32433:7feaf5550a9e