[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-04 23:11:23 CET

"C. Michael Pilato" <cmpilato@collab.net> 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...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 4 23:51:38 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.