/[Apache-SVN]
ViewVC logotype

Revision 1464769


Jump to revision: Previous Next
Author: julianfoad
Date: Thu Apr 4 21:14:06 2013 UTC (11 years ago)
Changed paths: 3
Log Message:
Sleep for timestamps even if using commit times as timestamps.

Before r1463721, 'revert' did not sleep if using commit times, while
'checkout' and 'update' and 'switch' would sleep regardless.  r1463721 made
all of those operations omit the sleep if using commit times, but Philip and
Ben discussed and pointed out that the commit time could still be within the
timestamp resolution and so that could be unsafe.  Therefore we will sleep
anyway, in all of those operations, to be safe.

(The commit time could also be *after* the local time because of clock skew,
which adds the possibility that the sleep takes us *into* an unsafe time
period, but we're not trying to address that problem here.)

Found by: breser

* subversion/libsvn_client/revert.c
  (svn_client_revert2): Sleep regardless of use-commit-times.

* subversion/libsvn_client/switch.c
  (switch_internal): Sleep regardless of use-commit-times.

* subversion/libsvn_client/update.c
  (update_internal): Sleep regardless of use-commit-times. (Checkout also
  uses this code.)


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/revert.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/switch.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/update.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26