[Bug 6064] New: `hg tracked --addinclude` does not work.

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Jan 29 17:24:34 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6064

            Bug ID: 6064
           Summary: `hg tracked --addinclude` does not work.
           Product: Mercurial
           Version: 4.8
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: 7895pulkit at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Errors out with the following traceback:

```
searching for changes
adding changesets
adding manifests
adding file changes
added 0 changesets with 218 changes to 163 files
Traceback (most recent call last):
  File "contrib/python/hg/mercurial/scmutil.py", line 166, in callcatch
    return func()
  File "contrib/python/hg/mercurial/dispatch.py", line 359, in _runcatchfunc
    return _dispatch(req)
  File "contrib/python/hg/mercurial/dispatch.py", line 1006, in _dispatch
    cmdpats, cmdoptions)
  File "contrib/python/hg/mercurial/dispatch.py", line 748, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "contrib/python/hg/mercurial/dispatch.py", line 1015, in _runcommand
    return cmdfunc()
  File "contrib/python/hg/mercurial/dispatch.py", line 1003, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "contrib/python/hg/mercurial/util.py", line 1644, in check
    return func(*args, **kwargs)
  File "contrib/python/hg/hgext/narrow/narrowcommands.py", line 469, in
trackedcmd
    newincludes, newexcludes)
  File "contrib/python/hg/hgext/narrow/narrowcommands.py", line 317, in _widen
    mf = repo['.'].manifest().matches(newmatch)
  File "contrib/python/hg/mercurial/manifest.py", line 1074, in matches
    return self._matches(match)
  File "contrib/python/hg/mercurial/manifest.py", line 1109, in _matches
    m = subm._matches(match)
  File "contrib/python/hg/mercurial/manifest.py", line 1110, in _matches
    if not m._isempty():
  File "contrib/python/hg/mercurial/manifest.py", line 771, in _isempty
    self._load() # for consistency; already loaded by all callers
  File "contrib/python/hg/mercurial/manifest.py", line 938, in _load
    cf(self)
  File "contrib/python/hg/mercurial/manifest.py", line 959, in _copyfunc
    self._load()
  File "contrib/python/hg/mercurial/manifest.py", line 935, in _load
    lf(self)
  File "contrib/python/hg/mercurial/manifest.py", line 1215, in _load_for_read
    s.parse(gettext(), readsubtree)
  File "contrib/python/hg/mercurial/manifest.py", line 1883, in gettext
    return store.revision(self._node)
  File "contrib/python/hg/mercurial/manifest.py", line 1565, in revision
    return self._revlog.revision(node, _df=_df, raw=raw)
  File "contrib/python/hg/mercurial/revlog.py", line 1571, in revision
    rev = self.rev(node)
  File "contrib/python/hg/mercurial/revlog.py", line 578, in rev
    raise error.LookupError(node, self.indexfile, _('no node'))
LookupError: meta/f1/f2/00manifest.i at abcdef123456: no node
abort: meta/f1/f2/00manifest.i at abcdef123456: no node!
```

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


More information about the Mercurial-devel mailing list