This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
This must be simple, but somehow I am unable to do this... I am using third paty code in my CVS hierarachy, the directory is called XYZ. Now I have replaced contents of this XYZ with newer version of the same products so there are many new diff directories, files etc. Now I want to commit this new XYZ folder contents to the CVS, how do I do this. It contains many subdirectories and files, so I do not want to do it individually. I use WinCVS client. How do I do this? What other option do I have? TIA, - Manish
I never done this before, so I suggest you back up the cvs directory first. I would first do a directory remove the old XYZ, and then do an add for the new directory even tho they have the same name. CVS doesn't keep track of directory history, so you'll lose history. But since you are using 3rd party code, do you need to keep track of that?
Regarding the subdirectories - you will have to 'add' those individually. Just the way CVS works with dirs, pain but a fact of life. Once you have done that - for individual files - with WinCVS, select the project, click flatten, click non-cvs only, mass select, click add, them commit. If it is 3rd party code that is binary only, I would just create a zip/jar of the whole mess and commit that only. Regards, Guy