Example usage OF Creating & Working On a CVS Branch
Tried working hard on CVs commands, here is simple example for working in branch using CVS, CVS is becoming nomore use with everyone opting for SVN, still CVS usages is wide as it is old,Lets start with CVS commands to create a branch
This is done with two commands,
- cvs tag -b release-1 //create branch
- cvs update -j release-1 //merge the changes in main tot
Creating and working on a branch for the existing kernel source.
#cvs co kernel/linux-2.6.26
#cd kernel/linux-2.6.26/
#cvs tag -b release-1
First we created a branch to the kernel source, as we are doing first release.
Continue your development work for second release.
After some time, reported a problem in the first release.
So you need to Get the kernel source code of first release.
#cvs co -r release-1 kernel/linux-2.6.24
and fix the problems
Now If you want to merge these changes in to main trunk.
#cvs update -j release-1
And you are done with usage OF Creating & Working On a CVS Branch
Comments