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

Re: Renaming only case on Windows

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-08-31 20:11:19 CEST

Jack Repenning wrote:
> At 1:08 AM +0200 8/31/03, Daniel Schlyder wrote:
>> Hi list,
>>
>> I'm a new user of Subversion (and RCS altogether -- what a great
>> productivity booster!). I'm trying to rename a file in a working
>> copy on Windows XP:
>
> Well, you skipped prety quick from "the easy things that don't work"
> to "really huge things that, yes, do work." There are one or two
> middle-sized ways to get the effect:
>
>> $ svn mv foo Foo
>>
>> Fails with error:
>> svn: Trying to use an unsupported feature
>> svn: cannot move path 'foo' into itself
>
> Your underlying file system, Windows, thinks "foo" and "Foo" are the
> same file (looks like you understand that well enough). SVN is, in
> general, very careful not to trash files you already have (this will
> come up again in a moment). The quickest way to make this approach
> work is to use a filesystem that understands what you're trying to
> say (a case-sensitive file system).

Isn't this just a case of over-zealous error checking? "ren foo Foo" works
just fine on windows. There's no reason why "svn mv" couldn't work as well.

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 31 20:12:00 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.