[Bug 4728] New: pull aborts with "abort: stream ended unexpectedly (got 0 bytes, expected 4)" (bundle2/evolve)

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jun 18 02:01:48 CDT 2015


http://bz.selenic.com/show_bug.cgi?id=4728

          Priority: normal
            Bug ID: 4728
                CC: mercurial-devel at selenic.com,
                    pierre-yves.david at ens-lyon.org
          Assignee: bugzilla at selenic.com
           Summary: pull aborts with "abort: stream ended unexpectedly
                    (got 0 bytes, expected 4)" (bundle2/evolve)
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: julien.cristau at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.4
         Component: evolution
           Product: Mercurial

possibly related to #4616, but seems to happen even with that fix.

$ hg pull --hidden --traceback
pulling from <remote>
searching for changes
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 160, in
_runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 885, in
_dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 646, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 164, in
closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 521, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 976, in
_runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 947, in
checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 882, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 164, in
closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/evolve.py", line 596, in
warnobserrors
    ret = orig(ui, repo, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 164, in
closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/evolve.py", line 574, in
wrapmayobsoletewc
    res = origfn(ui, repo, *args, **opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 164, in
closure
    return func(*(args + a), **kw)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/hgext/rebase.py", line 1059, in
pullrebase
    orig(ui, repo, *args, **opts)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 718, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 5123, in
pull
    bookmarks=opts.get('bookmark', ())).cgresult
  File "/usr/lib/python2.7/dist-packages/mercurial/exchange.py", line 888, in
pull
    _pullbundle2(pullop)
  File "/usr/lib/python2.7/dist-packages/mercurial/exchange.py", line 994, in
_pullbundle2
    bundle = pullop.remote.getbundle('pull', **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/wireproto.py", line 369, in
getbundle
    return bundle2.getunbundler(self.ui, f)
  File "/usr/lib/python2.7/dist-packages/mercurial/bundle2.py", line 550, in
getunbundler
    header = changegroup.readexactly(fp, 4)
  File "/usr/lib/python2.7/dist-packages/mercurial/changegroup.py", line 24, in
readexactly
    % (len(s), n))
Abort: stream ended unexpectedly (got 0 bytes, expected 4)
abort: stream ended unexpectedly (got 0 bytes, expected 4)
remote: abort: 00changelog.i at b209829ca11455c26248a88ef60c19d4218364a2: filtered
node!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list