view mercurial/__init__.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 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source