Up to date repo indicates we need to pull before push
Running tests to reproduce #45 (closed) I get the following :
arthur@draco │tmp hg clone https://forge.extranet.logilab.fr/arthur/test-45
destination directory: test-45
requesting all changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 4 changes to 1 files (+2 heads)
obsmarker-exchange: 379 bytes received
3 new obsolescence markers
new changesets 28515bfd5087:ccdc8be232ad (4 drafts)
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
arthur@draco │t│test-45 hg phase -p .
arthur@draco │t│test-45 hg push -r .
pushing to https://forge.extranet.logilab.fr/arthur/test-45
searching for changes
no changes found
remote: pushing to git+ssh://git@localhost:arthur/test-45.git
remote: searching for changes
remote: error: pretxnclose hook failed: branch 'refs/heads/topic/default/asdf' changed on the server, please pull and merge before pushing
remote: branch 'refs/heads/topic/default/asdf' changed on the server, please pull and merge before pushing
arthur@draco │t│test-45 hg pull (255) (23s 975ms) ┃
pulling from https://forge.extranet.logilab.fr/arthur/test-45
searching for changes
no changes found
On a new topic :
⚙ arthur@draco │t│test-45 hg ci (5s 811ms)
active topic 'test-august-2019' grew its first changeset
(see 'hg help topics' for more information)
⚙ arthur@draco │t│test-45 hg push -r . (5s 197ms)
pushing to https://forge.extranet.logilab.fr/arthur/test-45
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
remote: pushing to git+ssh://git@localhost:arthur/test-45.git
remote: searching for changes
remote: error: pretxnclose hook failed: branch 'refs/heads/topic/default/asdf' changed on the server, please pull and merge before pushing
remote: transaction abort!
remote: rollback completed
remote: branch 'refs/heads/topic/default/asdf' changed on the server, please pull and merge before pushing
abort: push failed on remote