[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
File case sensitivity in CVS (on Win32)
|
I've run into a strange situation and I'm not sure how to get out of it.
I work in a team and we had some inconsistencies in the way we were
capitalizing names of Java classes. For example, say we had the
following two classes in one of our projects:
AbcDef
ABCGhi
Now all of us have the code in our workspaces and one of the developers
decided to rename ABCGhi to AbcGhi to be consistent with the other
case. The problem is that I already have that file in my workspace
(along with a bunch of other changes that are work in progress and not
ready to be commited yet). How do I go about picking up his change? I
tried update and what I ended up with is a file that reports a compile
error (since the file name in my workspace is still ABCGhi and the
update doesn't seem to realize that the file needs to be renamed to
match the class name within the file). Unfortunately, if I try to
rename the file on my local file system then it loses touch with the
version in the repository and assumes that I have an outgoing deletion
and creation of a new file with the same name. I also, tried to delete
it on the file system but that got had the same effect of deleting it in
the workspace.
Is this simply a limitation of CVSNT (I believe we're using 1.11.1.1)?
Is this a bug in the Eclipse version I'm using (M5+fixes)?
Unfortunately, upgrading the latter is somewhat problematic since it
would require the whole team to upgrade (along with other plugins we're
using which were designed to work with that version).
Do I have to rename the file locally and commit it to the repository?
Would everyone on the team have to do that then?
Thanks in advance for any help,
Alex