Checkout
cmpilato
committed
on 17 Dec 03
Finish issue #1603 - svn revert performance.

### This includes an API change ###

* subversion/include/svn_client.h
(svn_client_revert)… Show more
Finish issue #1603 - svn revert performance.  

### This includes an API change ###

* subversion/include/svn_client.h

 (svn_client_revert): Lose 'path' in favor of a new array, 'paths'.

   Also, lose promise about returning SVN_ERR_ENTRY_NOT_FOUND -- it

   was a blatant lie (that error is the one code that was explicitly

   *not* returned to the caller).

* subversion/libsvn_client/revert.c

 (revert): New.  Has almost all the old contents of

   svn_client_revert() -- it doesn't do the sleep anymore, and it

   suppresses errors from svn_wc_adm_close() when already in an

   errorful state.

 (svn_client_revert): Lose 'path' in favor of a new array, 'paths'.

   Core all the real work out of this and into the helper revert().

   Finally, accept the target loop that used to live in the

   command-line client.

* subversion/clients/cmdline/revert-cmd.c

 (svn_cl__revert): Move the target loop into svn_client_revert();

   just call that function once with the whole target array. Show less