all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexandru Harsanyi <harsanyi@mac.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: New VC mode -- review request
Date: Thu, 4 Oct 2007 17:46:14 +0800	[thread overview]
Message-ID: <34E094EC-EB00-4203-BDFF-0117F0169EE1@mac.com> (raw)
In-Reply-To: <200710040224.l942OUb4013773@oogie-boogie.ics.uci.edu>


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

> Alexandru Harsanyi <harsanyi@mac.com> 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	other threads:[~2007-10-04  9:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 10:35 New VC mode -- review request Eric S. Raymond
2007-10-03 14:31 ` Dan Nicolaescu
2007-10-03 17:00   ` Eric S. Raymond
2007-10-04  0:42     ` Dan Nicolaescu
2007-10-04  2:02       ` Eric S. Raymond
2007-10-04  2:14         ` Dan Nicolaescu
2007-10-09 14:55           ` Eric S. Raymond
2007-10-09 15:33             ` Dan Nicolaescu
2007-10-09 17:21               ` Eric S. Raymond
2007-10-04  7:18     ` Thien-Thi Nguyen
2007-10-03 21:32   ` Alexandru Harsanyi
2007-10-04  2:24     ` Dan Nicolaescu
2007-10-04  9:46       ` Alexandru Harsanyi [this message]
2007-10-04  9:51       ` Eli Zaretskii
2007-10-04 17:27     ` Richard Stallman
2007-10-04 20:32   ` David Kastrup
2007-10-04  2:02 ` Richard Stallman
2007-10-04  2:22   ` Eric S. Raymond
2007-10-05 16:12     ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-10-05 12:15 Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34E094EC-EB00-4203-BDFF-0117F0169EE1@mac.com \
    --to=harsanyi@mac.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.