cancel
Showing results for 
Search instead for 
Did you mean: 

CVS CheckIn issue

Prasad BS
Occasional Contributor

CVS CheckIn issue

We have two versions of Product which use the same CVS repositary for maintaining the Code Stream.

Ths issue is when we checkout the file of a directory and make the changes and checkin the file , the changes made to the file are reflected only in one version of the Product whereas in the other version of the Product the changes are not reflected

Do you have any idea what changes we need to make to get the changes in other version of the Product also.

Ex: Below are the files in directory sample in UNIX.

$ ls -l

-rwxr-xr-x 1 sshd mysql 4140 Apr 2 2007 hello.Cpp
-rwxr-xr-x 1 sshd mysql 30672 Apr 2 2007 test.cpp

To check out the file.

$ cvs co sample

Make the changes to hello.cpp

$ cvs update -A

$ cvs commit -M

After this if we see the hello.cpp the changes would have happened in only one version of the Product whereas in other version of the Product there won't be any changes.

Concurrent Versions System (CVS) 1.12.13 (client/server)

Thanks
Prasad







1 REPLY
OldSchool
Honored Contributor

Re: CVS CheckIn issue

you might have more luck checking with the comp.software.config-mgmt usenet group. Its on google groups here if needed:
http://groups.google.com/group/comp.software.config-mgmt/topics?pli=1

I suspect, but can't prove, that its because you only checked the file out on the default branch, which is generally the highest version/release number. Nothing in CVS says that changing a file will impact all of the same-named files in all branches, and in fact, it shouldn't. You would need to perform some kind of merge to do so, but I've no idea the mechanics of actually doing so.