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

Re: svn_fs_delete() vs. svn_fs_delete_tree()

From: <kfogel_at_collab.net>
Date: 2003-11-05 01:31:07 CET

Julian Foad <julianfoad@btopenworld.com> writes:
> >>For the life of me, I've never understood why we have both
> >>svn_fs_delete() (which only works on files) and svn_fs_delete_tree()
> >>(which works on both files and directories) in our public API. Our
> >>code always calls svn_fs_delete_tree() because it saves us a 'kind'
> >>check. Anyone opposed to losing svn_fs_delete(), and then renaming
> >>svn_fs_delete_tree() to svn_fs_delete()? Am I missing something
> >>obvious?
> > There is a difference between the two functions -- one sets a baton
> > flag to FALSE, the other sets it to TRUE.
> > txn_body_delete() uses the flag to behave differently...
>
> Pardon my impudence, Karl, but that was an almost content-free
> reply, given that C-Mike had already perceived that the two
> functions are different. :-)

I misunderstood what Mike was saying, yes. (I could explain it, but
trust me, it's a very boring misunderstanding.)

Sure, +1 on just going with delete_tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 5 02:11:44 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.