GTTF: Make gclient try harder when doing svn cleanup.

BUG=96775

Review URL: http://codereview.chromium.org/7922018

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@101771 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
phajdan.jr@chromium.org 14 years ago
parent 0e863f9078
commit 8a312c56e9

@ -764,10 +764,9 @@ class SVNWrapper(SCMWrapper):
# Look for locked directories.
dir_info = scm.SVN.CaptureStatus(os.path.join(self.checkout_path, '.'))
if [True for d in dir_info
if d[0][2] == 'L' and d[1] == self.checkout_path]:
# The current directory is locked, clean it up.
self._Run(['cleanup'], options)
for d in dir_info:
if d[0][2] == 'L':
self._Run(['cleanup', d[1]], options)
# Retrieve the current HEAD version because svn is slow at null updates.
if options.manually_grab_svn_rev and not revision:

Loading…
Cancel
Save