Issue #2449 duplicate

Error

Igor Timoshenkov
created an issue

This seems to be happening when I have a draft commit that has an added file and I'm trying to add some changes to that one. Between draft commit (file creation) and the next commit there was a time space about 24h. Hope this helps.

PS I'm using htg under Ubuntu 10.04.

Trace:

** Mercurial version (2.5.1).  TortoiseHg version (2.7)
** Command: log
** CWD: /home/t1gor
** Encoding: UTF-8
** Extensions loaded: 
** Python version: 2.7.3 (default, Aug  1 2012, 05:16:07) [GCC 4.6.3]
** System: Linux ubuntu 3.5.0-25-generic #38~precise1-Ubuntu SMP Wed Feb 20 09:55:27 UTC 2013 i686
** Qt-4.8.1 PyQt-4.9.1 QScintilla-2.6.1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 1698, in visualDiffToLocal
    dlg = visdiff.visualdiff(self.repo.ui, self.repo, [], opts)
  File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/visdiff.py", line 213, in visualdiff
    cpy = copies.pathcopies(ctx1a, ctx2)
  File "/usr/lib/python2.7/dist-packages/mercurial/copies.py", line 170, in pathcopies
    return _chain(x, y, _backwardrenames(x, a), _forwardcopies(a, y))
  File "/usr/lib/python2.7/dist-packages/mercurial/copies.py", line 152, in _backwardrenames
    f = _forwardcopies(b, a)
  File "/usr/lib/python2.7/dist-packages/mercurial/copies.py", line 138, in _forwardcopies
    ofctx = _tracefile(b[f], a)
  File "/usr/lib/python2.7/dist-packages/mercurial/copies.py", line 106, in _tracefile
    for f in fctx.ancestors():
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 780, in ancestors
    for parent in c.parents()[:cut]:
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 604, in parents
    pl = [(p, n, fl) for n in self._filelog.parents(self._filenode)]
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 246, in __get__
    result = self.func(obj)
  File "/usr/lib/python2.7/dist-packages/mercurial/context.py", line 457, in _filenode
    return self._filelog.lookup(self._fileid)
  File "/usr/lib/python2.7/dist-packages/mercurial/revlog.py", line 791, in lookup
    raise LookupError(id, self.indexfile, _('no match found'))
LookupError: data/application/controllers/ajax_user.php.i@d4b98c377ccf: no match found

Comments (7)

  1. Log in to comment