emacs-devel
[Top][All Lists]
Advanced

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

Re: New VC mode -- review request


From: Alexandru Harsanyi
Subject: Re: New VC mode -- review request
Date: Thu, 4 Oct 2007 17:46:14 +0800


On 4 Oct 2007, at 10:24 AM, Dan Nicolaescu wrote:

Alexandru Harsanyi <address@hidden> writes:

On 3 Oct 2007, at 10:31 PM, Dan Nicolaescu wrote:


          vc-rollback = C-x v c

Do you have an implementation for this function for any backend? It
would be interesting to see it.


The ClearCase backend implements it. See http://vc-
clearcase.sourceforge.net

Thanks, but unfortunately I don't know much about ClearCase, so I
won't be able to use that code to judge what can other backend do
about this...


Well, ClearCase supports removing any file revision, so rollback is implemented by asking ClearCase to remove the current revision.

Maybe rollback can be implemented in a generic way by applying the reverse patch between the current and previous revisions of the file and than committing that change. This will not remove any revision from the repository but will have the effect on the file contents as a rollback.

Cheers,
Alex.






reply via email to

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