Mercurial > hg
comparison contrib/synthrepo.py @ 40493:a2c4502e409b
narrow: only send includepats and excludepats if they are not empty
If we send an empty includepats or excludepats argument to getbundle, it's
translated to `['']` on the server which causes problems because even though
it's empty, bool of that value if True and we end up creating differencematcher
with narrowspec.match() which results in unexpected behavior.
Differential Revision: https://phab.mercurial-scm.org/D5138
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Wed, 17 Oct 2018 17:24:55 +0300 |
parents | 1c93e0237a24 |
children | 876494fd967d |
comparison
equal
deleted
inserted
replaced
40492:440f5b65be57 | 40493:a2c4502e409b |
---|