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

Re: Renaming files on win32

From: Gili <junk_at_bbs.darktech.org>
Date: 2004-12-23 04:32:03 CET

On Thu, 23 Dec 2004 03:39:39 +0100, Branko ─Œibej wrote:

>Gili wrote:
>>On Wed, 22 Dec 2004 22:35:38 +0100, Julian Reschke wrote:
>>>Gili wrote:
>>>>On Wed, 22 Dec 2004 20:16:08 +0100, Erik Huelsmann wrote:
>>>> This covers all major cases off the top of my head. What do you
>>>How do you handle other cases, such as
>>>1) Windows automativally loosing trailing dots and blanks,
>>>2) specific filenames that are illegal under Windows (con.*)?
>> For case 1, you can store trailing dots or spaces by
>>surrounding the filename with quotes. For case two, that's fine,
>>Subversion already doesn't support this properly. We'd be stepping
>>closer to the ideal behavior -- I don't claim it would be perfect.
>Huh? You mean, in the filesystem? That won't work, because a) changing
>the file name would create other sorts of conflicts, and b) Windows
>filesystems don't allow quotes in file names.

        No. You asked how we deal with "Windows automatically loosing
trailing dots and blanks". I stated it does not magically lose trailing
dots and blanks if you surround the filename with quotes. I have no
idea what else you're talking about.

>To be brutally frank, you seem to think we overlooked something obvious.
>We didn't. Sorry.

        I don't think you overlooked something obvious. I think that
coming from a unix-centric view of the world, the developers simply
placed this issue as a lower priority so it was not taken care of. I
don't think there should be a major difficulty in fixing this properly.
Also, I don't think it is fair to assume "Java must be taking
shortcuts" as you stated in your previous email. You don't know that.
If that was the case, you can be sure people would have complained
about it not working as documented. I know I don't know for certain how
it works, nor do I claim to know everything but I'm saying it warrants
looking further into because whatever they did in
Character.isLowercase(), we can do too.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 23 04:36:02 2004

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.