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

Re: Comment/code inconsistency: svn_path_get_absolute

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-07-30 14:32:21 CEST

On Mon, Jul 23, 2007 at 11:37:58PM -0700, Blair Zajac wrote:
> The comment says the input path to svn_path_get_absolute() must be
> canonicalized:
> But the first thing it does is to canonicalize it:
> Seems safer to change the comment, but at the top of svn_path.h it says all
> paths must be canonicalized, except for paths passed to
> svn_path_canonicalize() and svn_path_internal_style()
> Which should we change?

I'd go for the option of removing the canonicalisation from the
implementation: if the contract always required canonicalised paths, we
don't need to change it now just because we've been canonicalising by


  • application/pgp-signature attachment: stored
Received on Mon Jul 30 14:34:11 2007

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.