[Bug 3776] New: Filtering breaks hg outgoing and hg incoming on some condition

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jan 22 04:29:54 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3776

          Priority: normal
            Bug ID: 3776
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Filtering breaks hg outgoing and hg incoming on some
                    condition
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: pierre-yves.david at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5-rc
         Component: Mercurial
           Product: Mercurial

If some remote visible node are filtered locally the discovery process crash

% hg out --debug --traceback

comparing with review://cubes/mercurial_server
running ssh hg at hg.logilab.org 'hg -R review/cubes/mercurial_server serve
--stdio'
sending hello command
sending between command
remote: 145
remote: capabilities: lookup changegroupsubset branchmap pushkey known
getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN
httpheader=1024
remote: 1
query 1; heads
sending batch command
searching for changes
all remote heads known locally
Traceback (most recent call last):
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 88, in _runcatch
    return _dispatch(req)
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 743, in _dispatch
    cmdpats, cmdoptions)
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 514, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/pyves/lib/python/mercurial/extensions.py", line 189, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/pyves/lib/python/hgext/color.py", line 394, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 833, in _runcommand
    return checkargs()
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 804, in checkargs
    return cmdfunc()
  File "/home/pyves/lib/python/mercurial/dispatch.py", line 740, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/pyves/lib/python/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/pyves/lib/python/mercurial/extensions.py", line 144, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/pyves/lib/python/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/pyves/lib/python/hgext/mq.py", line 3508, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/home/pyves/lib/python/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/pyves/lib/python/mercurial/commands.py", line 4480, in outgoing
    return hg.outgoing(ui, repo, dest, opts)
  File "/home/pyves/lib/python/mercurial/hg.py", line 580, in outgoing
    o = _outgoing(ui, repo, dest, opts)
  File "/home/pyves/lib/python/mercurial/hg.py", line 563, in _outgoing
    o = outgoing.missing
  File "/home/pyves/lib/python/mercurial/util.py", line 246, in __get__
    result = self.func(obj)
  File "/home/pyves/lib/python/mercurial/discovery.py", line 87, in missing
    self._computecommonmissing()
  File "/home/pyves/lib/python/mercurial/discovery.py", line 75, in
_computecommonmissing
    self.missingheads)
  File "/home/pyves/lib/python/mercurial/revlog.py", line 392, in
findcommonmissing
    common = [self.rev(n) for n in common]
  File "/home/pyves/lib/python/mercurial/changelog.py", line 186, in rev
    raise error.LookupError(node, self.indexfile, _('no node'))
LookupError: 00changelog.i at a78f6102f193: no node
abort: 00changelog.i at a78f6102f193: no node!
zsh: exit 255   hg out --debug --traceback

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list