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

Re: [RFC] Canonical Paths

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-29 19:50:10 CEST

Marcus Comstedt wrote:

>On a system where '.' denotes the current working directory, then

I'm beginning to think that maybe we _should_ forbid certain characters
in filenames. Why? because not doing so will create an interoperability
nightmare for users. My candidates would be:

    * '/', '\', ':' -- the most common directory separators (never mind
      the strangeness of VMS paths); ':' also saves us grief on Windows.
    * '.', '..' and '.svn': these names should be forbidden, for obvious
      reasons. Actually, I'm not sure about '.svn'; that could be
      configurable in the long term.
    * Maybe other chars. Windows forbids '\', '/', ':', '*'. '?'. '<',
      '>' and '|'.

I know this may seem restrictive, but we should at least have an option
to _warn_ about such characters, to save people from further grief.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 19:50:52 2002

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

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