[issue2836] hg push to ssh repo fails with "abort: Invalid argument"

Colin Caughie bugs at mercurial.selenic.com
Tue May 31 09:29:23 CDT 2011


New submission from Colin Caughie <c.caughie at indigovision.com>:

I'm raising this as a separate issue from issue 2180 because the backtrace
seems to be pointing to a different root cause.

I'm running TortoiseHg on Windows; "hg vers" outputs:

> hg vers
Mercurial Distributed SCM (version 1.8.1+48-913c2c66a555)
(see http://mercurial.selenic.com for more information)

I've been trying to push a changeset with a large-ish (13MB) file in it, and
every time it fails with "abort: Invalid argument". The output with --debug
--traceback is pasted below (with various names replaced).

Apologies if this turns out to be specific to TortoiseHg or TortoisePlink.

------------------------------

pushing to ssh://hg@myhost/myrepo
running ""TortoisePlink.exe" -ssh -2 hg at myhost "hg -R myrepo serve --stdio""
sending hello command
sending between command
remote: 94
remote: capabilities: lookup changegroupsubset branchmap pushkey stream
unbundle=HG10GZ,HG10BZ,HG10UN
remote: 1
pushing subrepo mysubrepo to ssh://hg@myhost/mysubrepo
running ""TortoisePlink.exe" -ssh -2 hg at myhost "hg -R mysubrepo serve --stdio""
sending hello command
sending between command
remote: 94
remote: capabilities: lookup changegroupsubset branchmap pushkey stream
unbundle=HG10GZ,HG10BZ,HG10UN
remote: 1
sending heads command
searching for changes
common changesets up to 372cca898f7c 6bb43c685d30
no changes found
checking for updated bookmarks
sending listkeys command
sending heads command
searching for changes
common changesets up to 29a0f1fc4bb9 fdbbcb9b61b2 443db841e0ac 2ba7c33c6641
a5c24b9921f0 c65be6d72aa2 331ca18d3113 8a14680cf79f 7fd44c866188 7b8c092a749c
sending branchmap command
1 changesets found
list of changesets:
e55979e816cfc8580888a8c053add8db67f958c3
sending unbundle command
bundling: 0 changesets
bundling: 0 changesets
bundling: 0 changesets
bundling: 1 changesets
bundling: 0/1 manifests (0.00%)
bundling: 0/1 manifests (0.00%)
bundling: 0/1 manifests (0.00%)
bundling: 1/1 manifests (100.00%)
bundling: Languages/bigfile.apt 0/366 files (0.00%)
bundling: Languages/bigfile.apt 0/366 files (0.00%)
bundling: Languages/bigfile.apt 0/366 files (0.00%)
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 58, in _runcatch
  File "mercurial\dispatch.pyo", line 601, in _dispatch
  File "mercurial\dispatch.pyo", line 406, in runcommand
  File "mercurial\dispatch.pyo", line 655, in _runcommand
  File "mercurial\dispatch.pyo", line 609, in checkargs
  File "mercurial\dispatch.pyo", line 598, in <lambda>
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\extensions.pyo", line 133, in wrap
  File "mercurial\util.pyo", line 433, in check
  File "D:\hg\extensions\hgsubversion\hgsubversion\wrappers.py", line 434,
in generic
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\extensions.pyo", line 133, in wrap
  File "mercurial\util.pyo", line 433, in check
  File "hgext\mq.pyo", line 3049, in mqcommand
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\commands.pyo", line 3019, in push
  File "D:\hg\extensions\hgsubversion\hgsubversion\svnrepo.py", line 50, in
wrapper
  File "mercurial\localrepo.pyo", line 1414, in push
  File "mercurial\wireproto.pyo", line 122, in unbundle
  File "mercurial\sshrepo.pyo", line 141, in _callpush
  File "mercurial\sshrepo.pyo", line 163, in _send
IOError: [Errno 22] Invalid argument
abort: Invalid argument

----------
messages: 16418
nosy: ccaughie
priority: bug
status: unread
title: hg push to ssh repo fails with "abort: Invalid argument"

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2836>
____________________________________________________


More information about the Mercurial-devel mailing list