diff mercurial/dagop.py @ 33849:3ae2eaecb49e

rebase: optimize "source" calculation in adjustdest The "source" variable is calculated inside a loop but it does not depend on loop variables. Therefore move it outside the loop. Differential Revision: https://phab.mercurial-scm.org/D345
author Jun Wu <quark@fb.com>
date Fri, 11 Aug 2017 01:08:07 -0700
parents b2670290eab4
children c6c8a52e28c9
line wrap: on
line diff