Mercurial > hg
diff mercurial/bundle2.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 | 057d31ceace3 |
children | 8d75b9effa07 |