[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-29 01:19:16 CEST

Marcus Comstedt <marcus@mc.pp.se> writes:

> Philip Martin <philip@codematters.co.uk> writes:
>
> > On that platform we can change SVN_PATH_SEPARATOR to ':' and it may
> > just work.
>
> So the canonicalization is only canonical within the scope of a
> particular client? There are no interoperability problems with
> different clients using different values for SVN_PATH_SEPARATOR?
> In that case I'll breathe a little easier.

If you version a file called "." on AmigaOS don't expect the working
copy to work on Unix. If you version a file called ":" on Unix don't
expect the working copy to work on a system with ":" as a directory
separator. Etc., etc.

We had a file called

packages/freebsd/subversion/files/patch-build::buildcheck.sh

which was renamed because it failed to checkout on Win32 systems.

> But what about the repository URL for a file whose name contains a
> "/"? If my repository is rooted at http://www.example.com/repos/foo
> and I import "bar:gaz/onk" (that is, the file "gaz/onk" in the
> directory "bar") into it with a client using ':' for
> SVN_PATH_SEPARATOR, what URL will the imported file get?

I'm not a HTTP/WebDAV expert, but it would not surprise me if
filenames containing '/' characters are not valid. Even if there is a
valid encoding don't expect the working copy to work on Unix.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 01:19:50 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.