Here's how to reproduce it: hg init diff && cd diff touch a hg add a hg ci -m first echo a > a hg ci -m second rm a hg diff -r 0 abort: No such file or directory: /home/idan/dev/hg/tests/diff/a You get the same abort in a similar code path, see the attached script. A slightly more detailed explanation can be found in the proposed fix I sent to the list.
Fixed by http://selenic.com/repo/hg/rev/cff56a0ed18e Idan Kamara <idankk86@gmail.com> localrepo: don't add deleted files to list of modified/added files (issue2761) (please test the fix)
Fixed by http://selenic.com/repo/hg/rev/e880433a2e00 Idan Kamara <idankk86@gmail.com> localrepo: don't add deleted files to list of modified/added files (issue2761) (please test the fix)
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:19 EDT --- This bug was previously known as _bug_ 2761 at http://mercurial.selenic.com/bts/issue2761 Imported an attachment (id=1547)