info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverting a concrete revision


From: rolo2002
Subject: Re: Reverting a concrete revision
Date: Wed, 01 Sep 2004 14:36:25 +0200

I have made that, and nothing changed at all.

Maybe I did not explain myself well.

A file with 1.1, 1.2, 1.3, 1.4 and 1.5 revisions.

Generate 1.6 tah contains code from 1.1, 1.2, 1.4 and 1.5, I mean to NOT 
include changes made in 1.3 revision

Checking out last revision (1.5) and doing "cvs update -j 1.3 -j 1.5" that does 
nothing...

What am I doing wrong?

Thanks again

Rolo


> address@hidden writes [in very long lines]:
> >
>
> >     Using i.e "cvs update -j <revision 1.6> -j <revision 1.3>
> > file.c", we discard changes from 1.6 to 1.3. Then, commiting, we get
> > revision 1.7 that is exactly the same as 1.3. Now, suppose I want to
> > generate a new revision of "file.c" but containing code from 1.1 to 1.3
> > + 1.5 and 1.6 revision, because I realise that I don not want the
> > changes made on revision 1.4 but still want all the changes made in 1.5
> > and 1.6. Doing the previous update, I lost 1.4 changes but also 1.5 and
> > 1.6. So the idea is revert ONLY the changes that were made on 1.4. If
> > the changes of 1.5 and 1.6 are small (or changes of 1.) it can be do it
> > manually but this is not my case.
> >
> >     Is there any way to do this in CVS?
>
> Of course, just merge those changes back in:
>
>       cvs up -j1.4 -j1.6 file.c
>
> -Larry Jones
>
> These findings suggest a logical course of action. -- Calvin
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]