Subject: Re: bug#11490: vc-next-action overwrites changes in non-checked-out RCS file

From: Glenn Morris <[email-masked]>
Date: Thu, 03 Jan 2013 22:11:07 -0500

Chong Yidong wrote:

> Can someone summarize again a *correct* recipe to see the bug?

mkdir foo
cd foo
mkdir RCS
echo initial > file
ci -u -t-foo file
emacs-24.2 -Q file

M-x toggle-read-only

Enter some text in the buffer, eg now it looks like:

-----
initial
foobar
-----

Press C-x v v, and "foobar" is deleted with no prompting and no way to
get it back.

I changed vc-mistrust-permissions to t for 24.3 because of this.
But now that I check, it doesn't seem to help...