changeset 36465 | 94709406f10d |
parent 36464 | 3f0af89e008d |
child 36737 | 2a5024109490 |
--- a/mercurial/changegroup.py Wed Feb 28 10:21:43 2018 -0800 +++ b/mercurial/changegroup.py Wed Feb 28 10:55:21 2018 -0800 @@ -898,6 +898,11 @@ # support versions 01 and 02. versions.discard('01') versions.discard('02') + if NARROW_REQUIREMENT in repo.requirements: + # Versions 01 and 02 don't support revlog flags, and we need to + # support that for stripping and unbundling to work. + versions.discard('01') + versions.discard('02') return versions def localversion(repo):