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

Re: [PATCH] Fix some deprecation warnings

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 23 Oct 2009 10:14:35 +0100

On Fri, 2009-10-23 at 14:34 +0530, Kannan wrote:
> Log:
> Resolve some deprecation warnings and a bit of formatting.
> * subversion/libsvn_subr/target.c
> (svn_path_condense_targets): Use `svn_dirent_get_absolute()',
> `svn_dirent_get_longest_ancestor()' and `svn_dirent_is_root()'.

The doc string of svn_path_condense_targets() indicates it can operate
on dirents or URLs. I don't think you can simply change the
implementation like this without checking which kind of targets they

> (svn_path_remove_redundancies): Use `svn_dirent_get_absolute()' and
> `svn_dirent_is_child()'.

Does the same apply here? I haven't checked.

- Julian

Received on 2009-10-23 11:15:23 CEST

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.