diff 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
line wrap: on
line diff
--- a/tests/test-topic-flow-publish-bare.t	Mon May 24 14:26:42 2021 +0800
+++ b/tests/test-topic-flow-publish-bare.t	Mon May 24 15:14:30 2021 +0800
@@ -365,6 +365,13 @@
 Trying to push changeset without topic (would publish them)
 
   $ mkcommit c_aM0
+  $ hg phase --secret --force
+  $ hg push --config experimental.auto-publish=abort -r .
+  pushing to $TESTTMP/bare-branch-server
+  searching for changes
+  no changes found (ignored 1 secret changesets)
+  [1]
+  $ hg phase --draft
   $ hg push --config experimental.auto-publish=abort -r .
   pushing to $TESTTMP/bare-branch-server
   abort: push would publish 1 changesets