Page MenuHomePhabricator

hg push fails (remote: Exception: Unknown Mercurial command '448!)
Closed, DuplicatePublic

Description

Steps to reproduce:

  1. create hg repo on phacility (I used ssh://test-nn3dj2pwl2ae@vault.phacility.com/diffusion/1/macho)
  2. Add ssh public key to web interface
  3. clone works ok: hg clone ssh://test-nn3dj2pwl2ae@vault.phacility.com/diffusion/1/macho
  4. create a commit to push (touch a; hg add a; hg commit -m 'hello')
  5. hg outgoing works fine
  6. 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.

Event Timeline

marco-m renamed this task from hg push fails (remote: abort: stream ended unexpectedly) to hg push fails (remote: Exception: Unknown Mercurial command '448!).Dec 21 2016, 9:23 AM

I had a look at other bug reports. It looks like I am not the only one having this kind of problems. So it seems that hg >= 4.x is not supported yet, and actually not even the whole 3.x is supported.