subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1439873 - /subversion/trunk/subversion/libsvn_wc/revert.c
Date Tue, 29 Jan 2013 12:57:09 GMT
Author: philip
Date: Tue Jan 29 12:57:08 2013
New Revision: 1439873

URL: http://svn.apache.org/viewvc?rev=1439873&view=rev
Log:
* subversion/libsvn_wc/revert.c (revert_restore): Don't ignore/leak an error.

Modified:
    subversion/trunk/subversion/libsvn_wc/revert.c

Modified: subversion/trunk/subversion/libsvn_wc/revert.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/revert.c?rev=1439873&r1=1439872&r2=1439873&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/revert.c (original)
+++ subversion/trunk/subversion/libsvn_wc/revert.c Tue Jan 29 12:57:08 2013
@@ -369,7 +369,7 @@ revert_restore(svn_wc__db_t *db,
       special = FALSE;
 #endif
     }
-  else
+  else if (!err)
     {
       if (finfo.filetype == APR_REG || finfo.filetype == APR_LNK)
         on_disk = svn_node_file;
@@ -382,6 +382,8 @@ revert_restore(svn_wc__db_t *db,
       special = (finfo.filetype == APR_LNK);
 #endif
     }
+  else
+    return svn_error_trace(err);
 
   if (copied_here)
     {



Mime
View raw message