Mercurial > hg
diff mercurial/fancyopts.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 | d4ba4d51f85f |
children | 6000f5b25c9b |