diff mercurial/changelog.py @ 24105:0f8baebcdbea

trydiff: read file data in only one place This moves getfilectx() out of the initial block in the loop, leaving that block to be only about finding pairs of filenames in ctx1 and ctx2 to diff.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 22 Jan 2015 23:18:43 -0800
parents 828dc8db5515
children b5cd8c2f6e65
line wrap: on
line diff