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

Re: deletion and notify function

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-07-21 06:15:20 CEST

C├ędric Chabanois <cchabanois@ifrance.com> writes:

F> Hi !
>
> In svn_wc_delete (adm_ops.c)
> there is :
>
> /* Report the deletion to the caller. */
> if (notify_func != NULL)
> (*notify_func) (notify_baton, path, svn_wc_notify_delete,
> svn_node_unknown,
> NULL,
> svn_wc_notify_state_unknown,
> svn_wc_notify_state_unknown,
> SVN_INVALID_REVNUM);
>
> So the notification function will know that something has been deleted
> at given path.
> But it will not know if it was a file or a directory.
>
> Why not replace svn_mode_unknown by was_kind ?

Sure, why not? Send a patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 21 06:17:51 2003

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.