comparison mercurial/scmutil.py @ 23998:b65637247c69

trydiff: collect header-writing in one place This is the first step towards simplifying the big loop in trydiff(). This will make both the header code and the non-header code clearer, and it prepares for further simplification of the many nested if-statements in the body of the loop.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Jan 2015 17:00:54 -0800
parents 164915e8ef7b
children fafd9a1284cf
comparison
equal deleted inserted replaced
23997:8b88870cbd1e 23998:b65637247c69