From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Newsgroups: gmane.emacs.help Subject: Re: RCS revert to previous version Date: Sun, 13 Oct 2002 02:37:57 -0000 Organization: The Lott Company Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5lr8eveba5.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034477284 27259 127.0.0.1 (13 Oct 2002 02:48:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 02:48:04 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180YnS-00075N-00 for ; Sun, 13 Oct 2002 04:48:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180Ylr-0005Rw-00; Sat, 12 Oct 2002 22:46:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help User-Agent: Xnews/5.04.25 X-motd: Can Spam! X-message-flag: Outlook Critical Error! Please Restart Your Computer. X-Face: 7?1,~hLJv9R%<#DNR6m@9W**a.!h-)!o5B1\Y*}7"#k%MzvMP?z#A"Y@ai5SY[@JE95J'AQKwlk'5CbWOp:v5^HL>*a-.cPv*sXU?_ Original-X-Complaints-To: abuse@supernews.com Original-Lines: 29 Original-Xref: shelby.stanford.edu comp.emacs:75254 gnu.emacs.help:105991 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2538 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2538 on 12 Oct 2002, "Stefan Monnier " spake thusly: >>>>>> "Chris" == Chris writes: >> If I am working on, say 1.7 of a document using RCS, what is the >> easiest way to revert to a specific version, say 1.4 as an example? > > What do you mean by "revert" ? > In your example, when you say you want to revert to 1.6, which > of the following options do you mean: > - you simply want the content of the file to be the same as the > one in version 1.6 (and it will be committed as 1.9 if you ever > commit it, at which point 1.6 and 1.9 would be the same) > - you really want to get back to the time when 1.6 was the latest > and simply discard 1.7 and 1.8 (i.e. after reverting to 1.6, > modifying the file and committing it, it'd be committed as 1.7). > - you want to go back to the time of 1.6 but without discarding > 1.7 and 1.8, such that after modifying the file, it will be > committed as 1.6.1.1 (i.e. first version on a new branch named > 1.6.1). > - yet something else. I want to "revert" as in "go back" to a previous version. Discarding all changes in between. I don't care what the new revision number is when I check the document back in. I care about the content. Most of your other scenarios don't match any meaning of the word "revert" that I am aware of, but hopefully this makes it clearer. I want to be able to say "oops, this is all wrong, let's go back three versions and begin again."