On Tue, Aug 11, 2009 at 16:24, Hyrum K. Wright<hyrum_at_hyrumwright.org> wrote:
>...
> +++ trunk/subversion/libsvn_wc/status.c Tue Aug 11 07:24:26 2009 Â Â Â Â (r38671)
>...
> @@ -1712,9 +1715,8 @@ delete_entry(const char *path,
> Â /* Read the parent's entries file. Â If the deleted thing is not
> Â Â Â versioned in this working copy, it was probably deleted via this
> Â Â Â working copy. Â No need to report such a thing. */
> - Â /* ### use svn_wc_entry() instead? */
> - Â SVN_ERR(svn_wc__entry_versioned(&entry, full_path, eb->adm_access,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â FALSE, pool));
> + Â SVN_ERR(svn_wc__get_entry(&entry, eb->db, local_abspath, TRUE,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â svn_node_unknown, FALSE, pool, pool));
> Â if (entry->kind == svn_node_dir)
> Â Â {
allow_unversioned should be FALSE. entry_versioned always requires
that the requested node be present. Also note that returning
entry==NULL would be bad here, given the immediate dereference.
Cheers,
-g
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2382502
Received on 2009-08-11 16:41:39 CEST