Commit 1012a1c1 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Name of bookmarks preventing a push should be in user feedback

parent 60062c913ddc
Pipeline #3141 passed with stage
in 23 seconds
......@@ -22,6 +22,7 @@ def test_push_bookmarks_default_branch(test_project, tmpdir):
code, out, err = repo.hg_unchecked('push', '-B', 'book1', url)
assert code != 0, "Bookmarks should be forbidden by default"
assert 'forbidden' in out.lower()
assert 'book1' in out
# now let's allow bookmarks on non-topic changesets
# for the time being, bookmarks are still considered to create
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