Error using Narrow extension
Son Luong Ngoc
son.luong at booking.com
Fri Feb 14 17:11:59 UTC 2020
Hey folks,
I was testing out widening a narrow + shallow clone with a treemanifest-ed repo and got the following.
Any clue what am i doing wrong here?
Perhaps there is a bug in narrowwirepeer vs bundle2 spec?
~/test/treemanifest-repo> hg tracked --addinclude README.md
comparing with ssh://my-server-box.mydomain.blah//path-to-repo/treemanifest-repo
searching for changes
remote: ** unknown exception encountered, please report by visiting
remote: ** https://mercurial-scm.org/wiki/BugTracker
remote: ** Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
remote: ** Mercurial Distributed SCM (version 5.2.1)
remote: ** Extensions loaded: fastannotate, hggit, narrow, fsmonitor, remotefilelog
remote: Traceback (most recent call last):
remote: File "/bin/hg", line 36, in <module>
remote: dispatch.run()
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 111, in run
remote: status = dispatch(req)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 250, in dispatch
remote: ret = _runcatch(req) or 0
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 424, in _runcatch
remote: return _callcatch(ui, _runcatchfunc)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 433, in _callcatch
remote: return scmutil.callcatch(ui, func)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/scmutil.py", line 177, in callcatch
remote: return func()
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 414, in _runcatchfunc
remote: return _dispatch(req)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1174, in _dispatch
remote: lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions
remote: File "/usr/lib64/python2.7/site-packages/hgext/remotefilelog/__init__.py", line 576, in runcommand
remote: return orig(lui, repo, *args, **kwargs)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 862, in runcommand
remote: ret = _runcommand(ui, options, cmd, d)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1185, in _runcommand
remote: return cmdfunc()
remote: File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1171, in <lambda>
remote: d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 1843, in check
remote: return func(*args, **kwargs)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 6492, in serve
remote: s.serve_forever()
remote: File "/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 852, in serve_forever
remote: self.serveuntil(threading.Event())
remote: File "/usr/lib64/python2.7/site-packages/mercurial/wireprotoserver.py", line 858, 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 700, in _runsshserver
remote: rsp = wireprotov1server.dispatch(repo, proto, request)
remote: File "/usr/lib64/python2.7/site-packages/mercurial/wireprotov1server.py", line 82, in dispatch
remote: return func(repo, proto, *args)
remote: File "/usr/lib64/python2.7/site-packages/hgext/narrow/narrowwirepeer.py", line 120, in narrow_widen
remote: ellipses,
remote: File "/usr/lib64/python2.7/site-packages/mercurial/bundle2.py", line 2564, in widen_bundle
remote: changelog=False,
remote: TypeError: generate() got an unexpected keyword argument 'changelog'
abort: stream ended unexpectedly (got 0 bytes, expected 4)
exit 255
Cheers,
Son Luong
More information about the Mercurial
mailing list