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

Re: Resolving issue 1524: cvs2svn should replace "/" with "," ...

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2004-01-04 16:20:57 CET

On Sun, Jan 04, 2004 at 04:10:15PM +0100, Erik Huelsmann wrote:
> > On Sun, Jan 04, 2004 at 02:56:58PM +0100, Erik Huelsmann wrote:
> > >
> > > I attached a patch to issue 1524 (cvs2svn should replace "/" with ","
> > or
> > > something, in symbolic names) which not only replaces '/' with ',' but
> > also
> > > replaces '\' with ';'. Both characters ('/' and '\') are not forbidden
> > > explicitly by cvs (v1.11) whereas ',' and ';' are, as can be concluded
> > from the thread
> > > attached to the issue.
> > >
> > > Do you thinks this is an appropriate replacement rule?
> > >
> >
> > IMO, ';' should be avoided in paths where possible, because of its
> > significance to most unix shells. How about '.' or '@', instead?
>
> In which case it has to be @ since dots at the end of a filename don't work
> on windows. But the @ sign has meaning to Subversion for indicating a
> revision number doesn't it? (That's why I elected not to use it.)
>

We could do something like:

"/" -> ",slash,"
"\" -> ",backslash,"

But that's just too hideous; I'd rather the potential for bad ';'/shell
interaction (which is technically "user error"). In that light, ";" is
okay with me.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 4 16:21:38 2004

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.