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

Re: svn commit: r39091 - in trunk/subversion: libsvn_client libsvn_wc

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 3 Sep 2009 00:20:20 +0100

On Wed, Sep 02, 2009 at 03:28:46PM -0700, Bert Huijben wrote:
> Author: rhuijben
> Date: Wed Sep 2 15:28:45 2009
> New Revision: 39091
>
> Log:
> Take a few small steps towards removing access batons and entries
> from the status walker.

> @@ -730,43 +739,44 @@ is_external_path(apr_hash_t *externals,

> - svn_boolean_t ignore_me = svn_wc_match_ignore_list(name, patterns, pool);

> + ignore = svn_wc_match_ignore_list(svn_dirent_basename(local_abspath, NULL),
> + patterns, pool);

Is it correct to always match svn:ignore on the basename of a path?

Could the path not have been entered as a relative path with
a few subdirectories in it, like "foo/bar/baz"? Will just matching
"baz" always yield the correct result?

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2390465
Received on 2009-09-03 01:20:48 CEST

This is an archived mail posted to the Subversion Dev mailing list.