changeset 50527 | b361e9da3c3b |
parent 50521 | 58adcabc295f |
child 50530 | f4a540c203d7 |
--- a/mercurial/exchange.py Tue May 16 12:31:07 2023 +0200 +++ b/mercurial/exchange.py Thu May 18 17:07:43 2023 -0700 @@ -1637,7 +1637,7 @@ # We allow the narrow patterns to be passed in explicitly to provide more # flexibility for API consumers. - if includepats or excludepats: + if includepats is not None or excludepats is not None: includepats = includepats or set() excludepats = excludepats or set() else: