P3D3::chg doesn't seem to work with ssh repositories...

Issue #216 duplicate
Sune Riedel
created an issue

I tried to "Add Server Repository...", and then enter the URL of my SSH repository "ssh://hg3.xp-dev.com/AxiPhone". This gives me the error: "abort: no suitable response from remote hg!"

Just for the record - the repository is of course using SSH and hence my RSA-key, but as the server already knows me it (usually) doesn't ask for my password (it didn't when I used "hg clone" in the terminal below).

OK, let's "Test in Terminal" - here is the output from the terminal. I added a few blank lines before each command I entered. First is the output that happens automatically. Then I try to clone my repository using the chg command - same error. Just for reference I try to clone using the regular hg command - success.

{{{

Last login: Fri Mar 18 10:01:55 on ttys001 cd /tmp alias mhg='/Applications/MacHg.app/Contents/Resources/localhg' alias chg='HGPLAIN=1 HGENCODING=UTF-8 HGRCPATH="/Users/slr/Library/Application Support/MacHg/hgrc:/Users/slr/.hgrc" /Applications/MacHg.app/Contents/Resources/localhg' chg identify --cwd /tmp --insecure --noninteractive --rev 0 ssh://hg3.xp-dev.com/AxiPhone Sunes-MBP:~ slr$ cd /tmp Sunes-MBP:tmp slr$ alias mhg='/Applications/MacHg.app/Contents/Resources/localhg' Sunes-MBP:tmp slr$ alias chg='HGPLAIN=1 HGENCODING=UTF-8 HGRCPATH="/Users/slr/Library/Application Support/MacHg/hgrc:/Users/slr/.hgrc" /Applications/MacHg.app/Contents/Resources/localhg' Sunes-MBP:tmp slr$ chg identify --cwd /tmp --insecure --noninteractive --rev 0 ssh://hg3.xp-dev.com/AxiPhone remote: Connection closed by 88.198.13.206 abort: no suitable response from remote hg!

Sunes-MBP:Xcode projects slr$ chg clone ssh://hg3.xp-dev.com/AxiPhone AxiellLibrary.MacHG remote: Connection closed by 88.198.13.206 abort: no suitable response from remote hg!

Sunes-MBP:Xcode projects slr$ hg clone ssh://hg3.xp-dev.com/AxiPhone AxiellLibrary.MacHG requesting all changes adding changesets adding manifests adding file changes added 227 changesets with 1994 changes to 799 files updating to branch default 366 files updated, 0 files merged, 0 files removed, 0 files unresolved Sunes-MBP:Xcode projects slr$ }}}

Comments (4)

  1. Jason Harris repo owner

    You likely have something in your .hgrc file which is letting this work. Can you open the preferences in MacHg and click on the advanced tab and click the checkbox: twidle/.hgrc Include in HGRC path to on.

    Then try this again. And tell me what you find...

    Thanks! Jas

  2. Log in to comment