[cvsnt] Renamed file not getting updated in other developers' repository

Gaurav Chhabra messagegc at gmail.com
Tue Dec 9 15:34:54 GMT 2008

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

 Hi All,

We are using CVSNT 2.5.03 for version control & developers access the
repository using Net Beans IDE. They have no access to CVS via command line.
Everything (server as well as client machines) is on Windows XP.

I have a problem which has now become a real big headache. It started with a
change of a file name. One of the developers changed the case of a letter
from lower to upper. He told me that though he has changed the name of the
file from *hello.java* to *Hello.java*, other developers are still seeing
the old name in their working copy despite running the update command. This
file was present on both trunk as well as branch. The developer was working
on branch and was trying to merge it into trunk.

After hearing this, I updated my working copy and executed the following
commands on the CVS repository:
rename hello.java Hello.java* *
cvs remove hello.java
cvs add* *Hello.java
cvs commit –m "Renamed old to new" hello.java* *Hello.java

While running the above commands, my working copy was on trunk. I ran the
same commands on repository after switching my working copy to branch but to
no avail. No one could get the updated copy.

I then told all the developers to delete that file from their working copies
including revision cache (since, only one developer was working on that file
– the one who renamed it). Then the developer who renamed the file created
that file again and committed it on branch and then merged it on trunk.
Still the problem remained the same.

In frustration, I really don't remember what all operations I have performed
after these unsuccessful attempts. Both the file and I have gone through a
lot of trauma. The file has gone through a lot of deletion and creation.

The current scenario is that no one is able to perform build on their local
system (using NetBeans IDE). Whenever they run update command, it throws the
following error:
CVS server up-to-date check failed for hello.java
correct the above error first – server aborted

Please tell me whether there is any way through which I can get out of this
situation (by a 'proper' method or a 'not so proper' method)? My priority
right now is to make things working.

Any help will be highly appreciated.

Thanks & Regards,
*Gaurav Chhabra*

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook