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

RE: paths, locks and canonicalisation

From: Sander Striker <striker_at_apache.org>
Date: 2002-08-08 20:42:34 CEST

> From: Marcus Comstedt [mailto:marcus@mc.pp.se]
> Sent: 08 August 2002 19:55

> =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:
>
> > Yes, and yes. See the examples in the docstring for svn_path_split, in
> > svn_path.h. svn_path_split should do something smart with ".". Also,
> > maybe "./foo" should be canonicalized to "foo", and "" to "."?
>
> This sounds backwards. If "./foo" is canonicalized to "foo", then
> surely "." should be canonicalized to "", not the other way around?

apr_filepath_merge does exactly what you describe.

Sander

PS. I've not forgotten about that issue :)

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