Mercurial > hg > mercurial-source
diff mercurial/bundle2.py @ 36590:2d3e486d09d0 stable
streamclone: move requirement update into consumev2
This change was suggested by Gregory Szorc.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 26 Jan 2018 15:51:07 +0100 |
parents | 4fb2bb61597c |
children | e35320ce8043 |
line wrap: on
line diff
--- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -2155,11 +2155,3 @@ repo.ui.debug('applying stream bundle\n') streamclone.applybundlev2(repo, part, filecount, bytecount, requirements) - - # new requirements = old non-format requirements + - # new format-related remote requirements - # requirements from the streamed-in repository - repo.requirements = set(requirements) | ( - repo.requirements - repo.supportedformats) - repo._applyopenerreqs() - repo._writerequirements()