[issue810] hg 0.9.5 push over SSH completes but throws exception
Rui Carmo
mercurial-bugs at selenic.com
Thu Nov 1 15:53:44 CDT 2007
New submission from Rui Carmo <rui.carmo at taoofmac.com>:
While trying to push to a remote repo via SSH, I get the following exception:
monolith:space rcarmo$ hg commit -m "added link"; hg push
No username found, using 'rcarmo at monolith.internal.taoofmac.com' instead
pushing to ssh://rcarmo@fear/space
searching for changes
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
File "/usr/local/bin/hg", line 14, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 20, in
run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 348, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 401, in
_runcommand
return checkargs()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 357, in
checkargs
return cmdfunc()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 340, in
<lambda>
d = lambda: func(ui, repo, *args, **cmdoptions)
File "/Library/Python/2.5/site-packages/mercurial/commands.py", line 2147, in
push
r = repo.push(other, opts['force'], revs=revs)
File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line 1385, in
push
return self.push_unbundle(remote, force, revs)
File "/Library/Python/2.5/site-packages/mercurial/localrepo.py", line 1465, in
push_unbundle
return remote.unbundle(cg, remote_heads, 'push')
File "/Library/Python/2.5/site-packages/mercurial/sshrepo.py", line 202, in
unbundle
l = int(self.pipei.readline())
ValueError: invalid literal for int() with base 10: '1 files updated, 0 files
merged, 0 files removed, 0 files unresolved\n'
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
I am using the new minimal installer for Mac OS X 10.5 Python 2.5, but was able
to replicate this with MacPorts Python 2.4 (on Tiger and Leopard) as well.
----------
messages: 4236
nosy: rcarmo
priority: bug
status: unread
title: hg 0.9.5 push over SSH completes but throws exception
topic: ssh_proto, surprise
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue810>
____________________________________________________
More information about the Mercurial-devel
mailing list