Log 

[[[
Fix for issue #3938. Make 'svn revert' to skip unversioned targets.

* subversion/libsvn_client/revert.c
  (revert): Send 'skip' notification when svn_wc_revert4() returns
    SVN_ERR_WC_PATH_NOT_FOUND.

Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
]]]

Thanks and Regards
Noorul

Index: subversion/libsvn_client/revert.c
===================================================================
--- subversion/libsvn_client/revert.c   (revision 1139198)
+++ subversion/libsvn_client/revert.c   (working copy)
@@ -91,7 +91,8 @@
       /* If target isn't versioned, just send a 'skip'
          notification and move on. */
       if (err->apr_err == SVN_ERR_ENTRY_NOT_FOUND
-          || err->apr_err == SVN_ERR_UNVERSIONED_RESOURCE)
+          || err->apr_err == SVN_ERR_UNVERSIONED_RESOURCE
+          || err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
         {
           if (b->ctx->notify_func2)
             (*b->ctx->notify_func2)

Reply via email to