[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc commit clears undo history

From: David Kastrup
Subject: Re: vc commit clears undo history
Date: Mon, 03 Dec 2007 21:26:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

"Sam Steingold" <address@hidden> writes:

> GNU Emacs (x86_64-unknown-linux-gnu, GTK+ Version 2.8.20)
>  of 2007-12-03 on nyc-qws-005
>  '-with-gtk' '-with-gif=no'
> a long-standing bug (bad feature?) is that when a file is committed
> using vc (C-x v v) or pcvs (c in *cvs* buffer), it buffer's undo history
> is discarder.

I think the rationale for that might be that in order to have the files
identifiable as unmodified, some version control systems might do a
recheckout on them, and replace strings like $Id: whatever$ with
different information.  In any case, a revert-buffer is done on the file
after checking it in, I believe.

It might not be easy to get consistent undo information in this case.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]