https://bz.mercurial-scm.org/show_bug.cgi?id=6019

            Bug ID: 6019
           Summary: Unknown exception during narrow clone
           Product: Mercurial
           Version: 4.6.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: bundle2
          Assignee: bugzi...@mercurial-scm.org
          Reporter: idls...@gmail.com
                CC: mercurial-devel@mercurial-scm.org,
                    pierre-yves.da...@ens-lyon.org

Our repo is configured to use narrow acl.

One of the clients is getting this:

requesting all changes
adding changesets
adding manifests
adding file changes
remote: ** unknown exception encountered, please report by visiting             
remote: ** https://mercurial-scm.org/wiki/BugTracker
remote: ** Python 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623
(Red Hat 4.8.5-16)]
remote: ** Mercurial Distributed SCM (version 4.6.1)
remote: ** Extensions loaded: narrow
remote: Traceback (most recent call last):
remote:   File "/usr/bin/hg-ssh", line 93, in <module>
remote:     main()
remote:   File "/usr/bin/hg-ssh", line 78, in main
remote:     dispatch.dispatch(req)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
210, in dispatch
remote:     ret = _runcatch(req)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
351, in _runcatch
remote:     return _callcatch(ui, _runcatchfunc)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
359, in _callcatch
remote:     return scmutil.callcatch(ui, func)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/scmutil.py", line
160, in callcatch
remote:     return func()
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
341, in _runcatchfunc
remote:     return _dispatch(req)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
971, in _dispatch
remote:     cmdpats, cmdoptions)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
727, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
979, in _runcommand
remote:     return cmdfunc()
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line
968, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
1553, in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line
4788, in serve
remote:     s.serve_forever()
remote:   File
"/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 806, in
serve_forever
remote:     self.serveuntil(threading.Event())
remote:   File
"/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 811, in
serveuntil
remote:     _runsshserver(self._ui, self._repo, self._fin, self._fout, ev)
remote:   File
"/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 666, in
_runsshserver
remote:     _sshv1respondstream(fout, rsp)
remote:   File
"/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 480, in
_sshv1respondstream
remote:     for chunk in source.gen:
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/bundle2.py", line
673, in getchunks
remote:     self._compopts):
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/bundle2.py", line
694, in _getcorechunk
remote:     for chunk in part.getchunks(ui=self.ui):
remote:   File "/usr/lib64/python2.7/site-packages/mercurial/bundle2.py", line
1067, in getchunks
remote:     paramsizes = _pack(_makefpartparamsizes(len(parsizes) // 2),
*parsizes)
remote: struct.error: ubyte format requires 0 <= number <= 255
added 9047 changesets with 25436 changes to 7028 files (+33 heads)              
transaction abort!
rollback completed
abort: stream ended unexpectedly (got 0 bytes, expected 4)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to