( )⚙ D10948 exchange: use "served" repo filter to guess what the server will publish

This is an archive of the discontinued Mercurial Phabricator instance.

exchange: use "served" repo filter to guess what the server will publish
ClosedPublic

Authored by av6 on Jul 3 2021, 4:13 AM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

av6 created this revision.Jul 3 2021, 4:13 AM
pulkit accepted this revision.Jul 3 2021, 2:28 PM
This revision is now accepted and ready to land.Jul 3 2021, 2:28 PM