Commit 2ed3bb55 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

tests: add simple auto-publish checks alongside publish-bare-branch checks

--HG--
branch : stable
parent 1a8e86053adb
......@@ -5,6 +5,13 @@ Test workflow options
$ . "$TESTDIR/testlib/topic_setup.sh"
$ . "$TESTDIR/testlib/common.sh"
Also testing auto-publish config option with this publishing mode
$ cat << EOF >> "$HGRCPATH"
> [experimental]
> auto-publish = warn
> EOF
Publishing of bare branch
=========================
......@@ -32,6 +39,7 @@ pushing a simple branch publish it
$ mkcommit c_dB0
$ hg push
pushing to $TESTTMP/bare-branch-server
1 changesets about to be published
searching for changes
adding changesets
adding manifests
......@@ -60,6 +68,7 @@ pushing two heads at the same time
(consider using topic for lightweight branches. See 'hg help topic')
$ hg push -f
pushing to $TESTTMP/bare-branch-server
2 changesets about to be published
searching for changes
adding changesets
adding manifests
......@@ -88,6 +97,7 @@ pushing something not on default
$ mkcommit c_aE0
$ hg push --new-branch
pushing to $TESTTMP/bare-branch-server
1 changesets about to be published
searching for changes
adding changesets
adding manifests
......@@ -153,6 +163,7 @@ pushing topic over a bare branch
(see 'hg help topics' for more information)
$ hg push
pushing to $TESTTMP/bare-branch-server
1 changesets about to be published
searching for changes
adding changesets
adding manifests
......@@ -193,6 +204,7 @@ Pushing topic in between bare branch
$ mkcommit c_aK0
$ hg push
pushing to $TESTTMP/bare-branch-server
2 changesets about to be published
searching for changes
adding changesets
adding manifests
......@@ -235,6 +247,7 @@ merging a topic in branch
$ hg ci -m 'c_dL0'
$ hg push
pushing to $TESTTMP/bare-branch-server
2 changesets about to be published
searching for changes
adding changesets
adding manifests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment