P2D3::SSH Server Connections Fail when using newer extensions

Issue #16 resolved
Will Kiefer
created an issue

Thanks for all your hard work! Just filing this to be thorough. Not a big deal.

In my ~/.hgrc file, I'm using the progress extension added in mercurial 1.5: http://mercurial.selenic.com/wiki/ProgressExtension However, since MacHg defaults to an older version of Hg all ssh connections fail trying to import that extension. (not sure if it causes other issues elsewhere, just ran into this one first)

REPRO:

Add the progress extension to your ~/.hgrc file, like so:

[extensions] progress =

Open MacHG

Attempt to add a new server repository

Use a ssh url

MacHg will always report that the server is unreachable.

EXPECTED: MacHg would ignore unknown extensions

WORKAROUND: Just remove this extension and MacHg works great!

Here is the error log:

MacHg issued(2010-05-07 12:35:42 -0400): /Applications/MacHg.app/Contents/Resources/localhg showconfig --cwd /tmp --noninteractive ui.username Result code was:0 Standard out was: Will Kiefer redacted@gmail.com

Standard error was: *** failed to import extension progress: No module named progress

Comments (4)

  1. Log in to comment