Re: New to RCS- Going back one verison

[email protected] (Bob Proulx) Tue, 24 Oct 2006 22:27:58 -0600
Newsgroups gmane.comp.gnu.rcs
Message-ID <[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

And to browse the history of previous revisions use rlog.

  rlog filename

I find using co piping to stdout into a pager most convenient while
browsing.

  co -p -r1.8 filename | less

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...

Bob