[RFC] WC APIs for adding and copying

2010-10-07 Thread Julian Foad
I'm planning to remove/deprecate svn_wc_add4(), the many-headed beast, and provide replacement functions that have more focused tasks. I reached this point from trying to understand the different kinds of add and copy in order to sort out the operation depth field for the NODES table. I drew out

Re: [RFC] WC APIs for adding and copying

2010-10-07 Thread C. Michael Pilato
On 10/07/2010 03:34 PM, Julian Foad wrote: I'm planning to remove/deprecate svn_wc_add4(), the many-headed beast, and provide replacement functions that have more focused tasks. [...] Any thoughts? Anything that can be done to make that multi-headed beast more maintainable would be a welcome

Re: [RFC] WC APIs for adding and copying

2010-10-07 Thread Greg Stein
On Thu, Oct 7, 2010 at 15:34, Julian Foad julian.f...@wandisco.com wrote: ...  * For a repo-WC copy:    svn_wc_add_repos_file4()     # existing function    svn_wc_add_repos_dir(depth)  # new function Please use copy in their name to better reflect the operation. Let's never use the term