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

Re: svn commit: r937128 - in /subversion/trunk/subversion/libsvn_wc: props.c props.h update_editor.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 23 Apr 2010 11:48:28 +0100

gstein_at_apache.org writes:

> Author: gstein
> Date: Fri Apr 23 01:39:05 2010
> New Revision: 937128
>
> URL: http://svn.apache.org/viewvc?rev=937128&view=rev
> Log:
> Change some basics around the svn_wc__merge_props before digging in for
> some further work.
>
> Note: this restricts svn_wc_merge_props3() to ONLY "normal" props. The
> prior behavior of allowing wc/entry props would result in installing these
> as real properties (oops!).
>
> * subversion/libsvn_wc/props.h:
> (svn_wc__merge_props): pass the node's KIND information (or the intended
> KIND if it has not (yet) been created)
>
> * subversion/libsvn_wc/props.c:
> (svn_wc_merge_props3): disallow non-normal propchanges. fetch the KIND
> earlier and pass to merge_props. fetch the pristine/actual props and
> pass them along, too.
> (svn_wc__merge_props): accept the KIND rather than fetching it (and then
> compensating for "unknown"). assert that we always get the set of
> BASE/ACTUAL properties rather than attempting to fetch these or fill
> in some empty defaults. remove all the IS_NORMAL stuff. we only ever
> get normal properties.

This causes

FAIL: merge_tests.py 54: set no mergeinfo when merging from foreign repos
FAIL: update_tests.py 33: update wc containing a replaced-with-history file
FAIL: update_tests.py 34: update handles obstructing paths scheduled for add

all in svn_wc__merge_props with

../src/subversion/libsvn_subr/io.c:2935: (apr_err=235000)
svn: In file '../src/subversion/libsvn_wc/props.c' line 1548: assertion failed (base_props != NULL)

-- 
Philip
Received on 2010-04-23 12:49:05 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.