[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What's the proper way to change a filename's case on win32?

From: Roel Harbers <roel_at_roelharbers.nl>
Date: 2004-08-06 09:18:58 CEST

Wadsworth, Eric (Contractor) wrote:

> Last time I did this, I had to use an intermediary step. First change it
> from test.txt to _TEST.TXT, commit the change, then change it from _TEST.TXT
> to TEST.TXT, and commit again. Make sense?
>
> The reason this is a pain is because subversion cares about case (rightfully
> so), but while Windows preserves case, it doesn't differentiate between the
> same filename in different cases (like *NIX does).
>
> Hope this helps.
>
> ****
> **** --- Eric Wadsworth, 520-533-2749
> ****

Yes, that's the workaround I described. It still requires anyone with a
working copy to update *between* these two commits though, so it's still
annoying.

btw. thanks to Paul Gross for pointing out to me that it's in the FAQ:
http://subversion.tigris.org/project_faq.html#case-change

Unfortunatly that describes another cumbersome workaround: everyone with
a wc must first do an update of the old filename (svn update *), then an
update of the rest (svn update).

Regards,

Roel Harbers

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 6 09:19:39 2004

This is an archived mail posted to the Subversion Users mailing list.