=?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