hg+ssh bug?
Jakob van Bethlehem
j.s.van.bethlehem at astro.rug.nl
Sun Mar 8 07:44:48 CDT 2009
Thanx, that was indeed the problem here. I forgot that hg is as yet not
installed globally on the institutes system, so I'm using a local
installation, with a local python installation. The global python
version is indeed lagging behind, and is still at 2.2.
Greetsz, Jakob
Matt Mackall wrote:
> On Fri, 2009-03-06 at 16:06 +0100, Jakob van Bethlehem wrote:
>> Hey list,
>>
>> Today I tried to clone a repository over ssh, using:
>> hg clone ssh://user@remote/~/path/to/repo
>>
>> This resulted in a SyntaxError in util.py, line 330:
>> yield ''.join(buf)
>> It says: invalid syntax
>
> ...
>
>> I'm running hg 1.2/python2.4 on the remote system (but the problem is
>> reproduced under hg 1.1); this is the traceback in a shell _on_ the
>> remote system for the command: hg -R ~/path/to/repo/ serve --stdio
>>
>> [..]/python2.4/site-packages/mercurial/util.py:330: Warning: 'yield'
>> will become a reserved keyword in the future
>
> Yield became a reserved word in Python 2.3? It appears you have a Python
> installation problem and are somehow actually running 2.2 (which
> introduced the above warning).
>
More information about the Mercurial
mailing list