[issue528] Incoming crash on HTTP repository
Phil
mercurial-bugs at selenic.com
Fri Mar 30 11:52:52 UTC 2007
New submission from Phil <hg.bt.web at secdev.org>:
Using hg incoming on an http repository with incoming changesets. Seems to work
for trivial cases though.
Example:
$ hg clone http://selenic.com/repo/hg myhg
$ cd myhg/
$ hg strip -- -20
24 files updated, 0 files merged, 1 files removed, 0 files unresolved
saving bundle to /tmp/myhg/.hg/strip-backup/a1406a50ca83.1
$ hg incoming
searching for changes
changeset: 4282:a1406a50ca83
Traceback (most recent call last):
File "/usr/bin/hg", line 12, in ?
commands.run()
File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3000, in run
sys.exit(dispatch(sys.argv[1:]))
File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3223, in
dispatch
return d()
File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3182, in
<lambda>
d = lambda: func(u, repo, *args, **cmdoptions)
File "/var/lib/python-support/python2.4/mercurial/commands.py", line 1564, in
incoming
displayer.show(changenode=n)
File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line 231, in show
self._show(rev, changenode, copies, props)
File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line 266, in _show
for tag in self.repo.nodetags(changenode):
File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 346, in
nodetags
for t, n in self.tags().items():
File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 292, in tags
for l in f.data().splitlines():
File "/var/lib/python-support/python2.4/mercurial/context.py", line 212, in data
def data(self): return self._filelog.read(self._filenode)
File "/var/lib/python-support/python2.4/mercurial/context.py", line 147, in
__getattr__
self._filelog = self._repo.file(self._path)
File "/var/lib/python-support/python2.4/mercurial/bundlerepo.py", line 229, in
file
return filelog.filelog(self.sopener, f)
TypeError: __init__() takes at least 4 arguments (3 given)
----------
messages: 2945
nosy: Phil
priority: bug
status: unread
title: Incoming crash on HTTP repository
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue528>
____________________________________________________
More information about the Mercurial-devel
mailing list