Mercurial > hg
diff mercurial/discovery.py @ 37636:330ada7e8ea5
discovery: don't redundantly call branchmap
We were calling the remote command twice without mutation the
remote in between. Derp.
Differential Revision: https://phab.mercurial-scm.org/D3287
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 11 Apr 2018 17:24:43 -0700 |
parents | 444ed53f93df |
children | 1964d2d1f421 |
line wrap: on
line diff
--- a/mercurial/discovery.py Fri Apr 13 11:12:19 2018 -0700 +++ b/mercurial/discovery.py Wed Apr 11 17:24:43 2018 -0700 @@ -209,7 +209,7 @@ # A. register remote heads remotebranches = set() - for branch, heads in remote.branchmap().iteritems(): + for branch, heads in remotemap.iteritems(): remotebranches.add(branch) known = [] unsynced = []