diff tests/test-obsolete-push.t @ 5933:c979af037915 stable

evolve: use "served" repo filter to guess what the server will publish
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 24 May 2021 15:15:45 +0800
parents a1dad44fe3da
children
line wrap: on
line diff
--- a/tests/test-obsolete-push.t	Mon May 24 15:14:30 2021 +0800
+++ b/tests/test-obsolete-push.t	Mon May 24 15:15:45 2021 +0800
@@ -60,7 +60,7 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd strict-publish-client
   $ echo c > c
-  $ hg ci -qAm C c
+  $ hg ci -qAm C c --secret
 
 abort behavior
 
@@ -70,6 +70,17 @@
   > eof
   $ hg push -r .
   pushing to $TESTTMP/source
+  searching for changes
+  no changes found (ignored 1 secret changesets)
+  [1]
+  $ hg push
+  pushing to $TESTTMP/source
+  searching for changes
+  no changes found (ignored 1 secret changesets)
+  [1]
+  $ hg phase --draft
+  $ hg push -r .
+  pushing to $TESTTMP/source
   abort: push would publish 1 changesets
   (* 'experimental.auto-publish' config) (glob)
   [255]