[issue528] Incoming crash on HTTP repository

Phil mercurial-bugs at selenic.com
Fri Mar 30 06:52:52 CDT 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.

$ 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 ?
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3000, in run
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3223, in
    return d()
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 3182, in
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/var/lib/python-support/python2.4/mercurial/commands.py", line 1564, in
  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
    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
    self._filelog = self._repo.file(self._path)
  File "/var/lib/python-support/python2.4/mercurial/bundlerepo.py", line 229, in
    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>

More information about the Mercurial-devel mailing list