Checkout
epg
committed
on 30 Apr 03
Resolve #774 ([PATCH] avoid early exit when acting on some
non-versioned files). Thanks to Karl Fogel for review and
suggestions.

* subver… Show more
Resolve #774 ([PATCH] avoid early exit when acting on some

non-versioned files).  Thanks to Karl Fogel for review and

suggestions.

* subversion/clients/cmdline/main.c:

 (svn_cl__cmd_table): Add -q option to proplist.

* subversion/clients/cmdline/proplist-cmd.c:

 (svn_cl__proplist): Instead of using SVN_ERR, just store the err and

 check to see if it is SVN_ERR_ENTRY_NOT_FOUND.  If it is, ignore the

 error and stop processing this file, printing a warning if the -q

 option was not used.  For all other errors return the err object and

 let normal error processing occur.

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

 (svn_cl__revert): Same change (but see svn_client_revert change

 below).

* subversion/clients/cmdline/update-cmd.c:

 (svn_cl__update): Same change.

* subversion/include/svn_client.h:

 (svn_client_update):

 (svn_client_revert):

 (svn_client_proplist): Note that these can return SVN_ERR_ENTRY_NOT_FOUND.

* subversion/include/svn_wc.h:

 (svn_wc_is_wc_root): Note that it can return SVN_ERR_ENTRY_NOT_FOUND.

* subversion/libsvn_client/revert.c:

 (svn_client_revert): Only use SVN_ERR on the svn_wc_adm_probe_open

 and svn_wc_adm_close calls; for all svn function calls in between

 (i.e. all svn functions called while the wc is locked), save the

 return value and if it is an error jump to the cleanup section at

 the end (where the wc is closed).

Show less