Steps to reproduce:
- create hg repo on phacility (I used ssh://test-nn3dj2pwl2ae@vault.phacility.com/diffusion/1/macho)
- Add ssh public key to web interface
- clone works ok: hg clone ssh://test-nn3dj2pwl2ae@vault.phacility.com/diffusion/1/macho
- create a commit to push (touch a; hg add a; hg commit -m 'hello')
- hg outgoing works fine
- push fails as follows
~/tmp/macho> hg push --debug pushing to ssh://test-nn3dj2pwl2ae@vault.phacility.com/diffusion/1/macho/ running ssh test-nn3dj2pwl2ae@vault.phacility.com 'hg -R diffusion/1/macho/ serve --stdio' sending hello command sending between command remote: 145 remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 remote: 1 query 1; heads sending batch command searching for changes 1 total queries preparing listkeys for "phases" sending listkeys command received listkey for "phases": 15 bytes checking for updated bookmarks preparing listkeys for "bookmarks" sending listkeys command received listkey for "bookmarks": 0 bytes 1 changesets found list of changesets: 32870cdde1cf9bb1e6b402824fb3d7067ad17b43 sending unbundle command remote: Exception: Unknown Mercurial command '448! abort: unexpected response: empty string
I am running hg version 4.0.1 on Mac OS X 10.12 Sierra.