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

Re: Crash when updating

From: Paul Burba <ptburba_at_gmail.com>
Date: Tue, 10 Jan 2012 20:23:06 -0500

On Tue, Jan 10, 2012 at 2:07 PM, Bert Huijben <bert_at_qqmail.nl> wrote:
>
>> -----Original Message-----
>> From: Paul Burba [mailto:ptburba_at_gmail.com]
>> Sent: dinsdag 10 januari 2012 17:36
>> To: Bert Huijben
>> Cc: Subversion Development; Stefan Küng
>> Subject: Re: Crash when updating
>
> <snip>
>>       if (! from_val)  /* adding a new property */
>>         SVN_ERR(apply_single_prop_add(state, &conflict_remains,
>>                                       db, local_abspath,
>>                                       left_version, right_version,
>>                                       is_dir, actual_props,
>>                                       propname, base_val, to_val,
>> ###                                                                 ^^^^
>> ###    This is obviously going to blow up since to_val is null!
>>
>>                                       conflict_func, conflict_baton,
>>                                       dry_run, result_pool, iterpool));
>> ]]]
>>
>> So it seems we need to put
>> subversion/libsvn_wc/wc_db.c:svn_wc__db_external_read_pristine_props(
>> )
>> back.  Does that seem right to you, or is there a better way?
>
> I think we need to call svn_wc__db_read_pristine_props() instead.
>
> The db_external_ variants of the db functions are from when file externals were stored in a different SqLite table

That works, thanks. Fixed r1229833. Nominated for backport to 1.7.3.

Paul
Received on 2012-01-11 02:23:42 CET

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.