[lug] cvs question
Chris Wade
cwade at veripost.net
Tue Oct 9 14:37:20 MDT 2001
Thanks! I don't want to sound like a total idiot, but it's the bash
scripting part I don't know how to do... could you give me an example of
what a script like that would look like?
Chris
> Here is the simplest approach (imo). I assume you know how to use cvs
> generally.
>
> 1. Make a new tag on the trunk. This tag will serve as a branchpoint
> if you ever decide you want to go back to your old massively-hacked
> trunk version. Don't make a branch tag (or if you do make sure you
> also make a separate branchpoint tag).
>
> 2. Check out your branch and the trunk. Copy all the files (avoiding
> the CVS directories, of course) from the branch working directory
> to the trunk working directory. If the trunk has a file not on the
> branch, `cvs rm' it. If the branch has a file not on the trunk
> `cvs add' it.
>
> 3. `cvs commit' on the trunk. Voila.
>
> Step 2 is easy to do with a simple bash script.
>
> Tom
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
More information about the LUG
mailing list