Mercurial > hg
diff mercurial/wireprotov1server.py @ 47492:f03e9d30258e
exchange: use "served" repo filter to guess what the server will publish
Previously, the second push in the added test would say "push would publish 2
changesets" because _checkpublish() was considering secret changesets to be
"pushable" when push command had a --rev argument.
Without --rev argument to push command, we already filter the repo properly.
Differential Revision: https://phab.mercurial-scm.org/D10948
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 03 Jul 2021 10:21:16 +0300 |
parents | d55b71393907 |
children | 04688c51f81f |