[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: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-08-29 20:25:41 CEST

=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:

> 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.

I think not being able to add files containing e.g. ':' on UNIX would
annoy users more. Having an interoperability warning (that can be
disabled with .svnconfig) sounds potentially useful though. I'm +0 on
that.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 20:27:41 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.