[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New to RCS- Going back one verison
From: |
Bob Proulx |
Subject: |
Re: New to RCS- Going back one verison |
Date: |
Tue, 24 Oct 2006 22:27:58 -0600 |
User-agent: |
Mutt/1.5.9i |
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