[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: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-08 21:16:09 CEST

Marcus Comstedt wrote:

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

Yes, except that statting "." works, but statting "" fails, IIRC.
Consistency is nice, but only to a point. :-)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 21:16:42 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.