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

Re: Case Sensitivity (was: Re: A List of Issues)

From: David Mankin <mankin_at_ants.com>
Date: 2002-06-07 20:03:24 CEST

On Fri, 7 Jun 2002, B. W. Fitzpatrick wrote:

> > 2) The colon ":" is a special character on Macintosh systems.
>
> On the classic side of things, yes, but on the UNIX side, it's just
> another character:
>
> farnese: ~>touch "foo:bar"
> farnese: ~>ls -la foo:bar
> -rw-r--r-- 1 fitz users 0 Jun 7 11:19 foo:bar

<svn:off-topic>

Interestingly, MacOS X uses : and / pseudo-interchangeably ... "/" was
allowed in path names in Classic MacOS, and ":" allowed in path names in
Unix. However, HFS uses ":" as the path separator. So really the Unix
view into the disk is an illusion. On disk "touch foo:bar" makes a file
called "foo/bar" (but it still appears as "foo:bar" in ls, as shown
above).

The opposite is true of UFS (I think), where "/" is the path separator
and the trick is on Classic MacOS who thinks this is a valid filename:
"4/13/2002.xls", when on disk it is stored as "4:13:2002.xls" (and
appears as such in an "ls" listing).

</svn:off-topic>

However, all of this is so well masked that for either file-system, it
feels like Unix to Unix, so SVN shouldn't have a problem with it.
(Unless there's a Classic version of SVN that tries to share a
repository with a Unix version of SVN... Then the entries file would be
wrong, I guess.)

-David Mankin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 7 21:00:32 2002

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