[issue2761] diff aborts when a file is deleted in the working dir but is present in the compared rev
Idan Kamara
bugs at mercurial.selenic.com
Mon Apr 11 18:54:55 UTC 2011
New submission from Idan Kamara <idankk86 at gmail.com>:
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.
----------
files: diff-2.sh
messages: 16038
nosy: idank
priority: bug
status: unread
title: diff aborts when a file is deleted in the working dir but is present in the compared rev
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2761>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-2.sh
Type: application/x-shellscript
Size: 112 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110411/fe07d1eb/attachment.bin>
More information about the Mercurial-devel
mailing list