Re: New to RCS- Going back one verison

"Aaron S. Hawley" <[email protected]> Wed, 25 Oct 2006 12:30:59 -0400
Newsgroups gmane.comp.gnu.rcs
Message-ID <[email protected]>
Quoting Bob Proulx <[email protected]>:

> Paul Eggert wrote:
>> stephen goldman writes:
>> > I am new to RCS. I have never had the need to go back to a former
>> > version. How do one do this?
>>
>> Something like this:
>>
>> co -r1.8 filename
>
> [...]
>
> Then if I want to revert completely to a previous version things go
> somewhat like this:
>
>  co -l filename           # locks the head
>  co -p -r1.8 > filename
>  ci -u filename
>  > Revert to previous version because of blah...

Or always just use the `rcs' command:

co -r1.8 filename
rcs -l filename # locks the head
ci -u filename
> Revert to version 1.8.