Error using Narrow extension
Augie Fackler
raf at durin42.com
Sat Feb 15 16:24:09 UTC 2020
That’s moderately surprising, but everyone that knows narrow well is on vacation. Could you file a bug and one of the narrow experts can look in about a week?
> On Feb 14, 2020, at 12:11 PM, Son Luong Ngoc via Mercurial <mercurial at mercurial-scm.org> wrote:
>
> 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
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
More information about the Mercurial
mailing list