subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1833532 - /subversion/trunk/subversion/libsvn_client/shelf.c
Date Thu, 14 Jun 2018 17:29:35 GMT
Author: julianfoad
Date: Thu Jun 14 17:29:35 2018
New Revision: 1833532

URL: http://svn.apache.org/viewvc?rev=1833532&view=rev
Log:
Shelving: Sleep for timestamps after 'unshelve'.

This should fix test failures we've been seeing particulary on a MacOSX buildbot
(as apparently an HFS+ filesystem has a coarse 1s timestamp resolution).

Found by: philip

* subversion/libsvn_client/shelf.c
  (svn_client_shelf_apply): Sleep for timestamps.

Modified:
    subversion/trunk/subversion/libsvn_client/shelf.c

Modified: subversion/trunk/subversion/libsvn_client/shelf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/shelf.c?rev=1833532&r1=1833531&r2=1833532&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/shelf.c (original)
+++ subversion/trunk/subversion/libsvn_client/shelf.c Thu Jun 14 17:29:35 2018
@@ -1662,6 +1662,8 @@ svn_client_shelf_apply(svn_client_shelf_
                             apply_file_visitor, &baton,
                             scratch_pool));
 
+  svn_io_sleep_for_timestamps(shelf_version->shelf->wc_root_abspath,
+                              scratch_pool);
   return SVN_NO_ERROR;
 }
 



Mime
View raw message