Christian Hujer <[EMAIL PROTECTED]> wrote:

> What is the best way to make the HEAD revision of the files being the 
> previous 
> revision? I've read the faq, they say if the last version is 1.31, "checkout 
> 1.30 and recheckin as 1.32". But I cannot imagine how to do this.

    cvs update -j 1.31 -j 1.30 the_file
or
    cvs update -p -r1.30 the_file > the_file


> When I try "cvs update -r 1.30 file" and then "cvs commit file" it of course 
> does not work.

Because it has a sticky revision.  To recover from that,
    cp the_file tempfile
    cvs update -A the_file
    mv tempfile the_file

Any one of these three methods will give you a file with the content of
revision 1.30, ready to be committed as revision 1.32 .


-- 
pa at panix dot com
_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to