"Bert Huijben" <[email protected]> writes:

>>        svn_wc_entry_t tmp_entry;
>> 
>>        tmp_entry.deleted = TRUE;
>>        tmp_entry.schedule = svn_wc_schedule_normal;
>> 
>> -      return svn_error_return(
>> -        svn_wc__entry_modify2(db, local_abspath, svn_node_unknown,
>> FALSE,
>> -                              &tmp_entry,
>> -                              (SVN_WC__ENTRY_MODIFY_DELETED
>> -                               | SVN_WC__ENTRY_MODIFY_SCHEDULE
>> -                               | SVN_WC__ENTRY_MODIFY_FORCE),
>> -                              pool));
>> +      SVN_ERR(svn_wc__entry_modify2(wc_ctx->db, local_abspath,
>> +                                    svn_node_unknown, FALSE, &tmp_entry,
>> +                                    (SVN_WC__ENTRY_MODIFY_DELETED
>> +                                     | SVN_WC__ENTRY_MODIFY_SCHEDULE
>> +                                     | SVN_WC__ENTRY_MODIFY_FORCE),
>> +                                    scratch_pool));
>
> Shouldn't this be svn_node_directory and TRUE for parent_stub
> instead of unknown and FALSE?
>
> Only directories can be in obstructed_delete mode, and in this case
> I don't think you can't update the node in the directory itself.

Dunno. I just moved the existing call.  I'll investigate.

-- 
Philip

Reply via email to