comparison tests/test-topic-flow-publish-bare.t @ 5932:fe25ec8f0124 stable

topic: use "served" repo filter to guess what the server will publish
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 24 May 2021 15:14:30 +0800
parents 6357551cb66f
children 4cf020149c4a 51249e4e9025
comparison
equal deleted inserted replaced
5931:6357551cb66f 5932:fe25ec8f0124
363 $ killdaemons.py 363 $ killdaemons.py
364 364
365 Trying to push changeset without topic (would publish them) 365 Trying to push changeset without topic (would publish them)
366 366
367 $ mkcommit c_aM0 367 $ mkcommit c_aM0
368 $ hg phase --secret --force
369 $ hg push --config experimental.auto-publish=abort -r .
370 pushing to $TESTTMP/bare-branch-server
371 searching for changes
372 no changes found (ignored 1 secret changesets)
373 [1]
374 $ hg phase --draft
368 $ hg push --config experimental.auto-publish=abort -r . 375 $ hg push --config experimental.auto-publish=abort -r .
369 pushing to $TESTTMP/bare-branch-server 376 pushing to $TESTTMP/bare-branch-server
370 abort: push would publish 1 changesets 377 abort: push would publish 1 changesets
371 (use --publish or adjust 'experimental.auto-publish' config) 378 (use --publish or adjust 'experimental.auto-publish' config)
372 [255] 379 [255]