diff tests/printenv.py @ 42026:98908e36d58a

discovery: prevent recomputing info about server and outgoing changesets We already iterate over the outgoing.missing above and lookup repo for them. So let's reuse info calculated at that time instead of recomputing that again. Also we calculate the set of remotebranches by doing set(remotemap), so let's reuse that again. Upcoming patches will clean things a bit more. Differential Revision: https://phab.mercurial-scm.org/D6144
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sun, 17 Mar 2019 18:29:23 +0300
parents 73da729ccfef
children 2372284d9457
line wrap: on
line diff