Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Issue 3185006: Improve -m to be more efficient, only lookup the current rev if it is pinned. (Closed)

Created:
10 years, 4 months ago by M-A Ruel
Modified:
9 years, 7 months ago
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Improve -m to be more efficient, only lookup the current rev if it is pinned. Use svn up --force if -m or -f is used. Renamed AddAdditionalFlags to _AddAdditionalUpdateFlags to be clearer about its purpose. Strings cleanup. With this change, it becomes more manageable to use -m on the continuous build. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56394

Patch Set 1 #

Total comments: 2

Patch Set 2 : don't always force #

Patch Set 3 : Use 'not revision' instead of 'forced_revision' and cleanup string consistency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -23 lines) Patch
M gclient_scm.py View 1 2 9 chunks +29 lines, -23 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
M-A Ruel
That would have greatly reduced the downtime this morning. :/
10 years, 4 months ago (2010-08-16 17:23:16 UTC) #1
nsylvain
http://codereview.chromium.org/3185006/diff/1/2 File gclient_scm.py (right): http://codereview.chromium.org/3185006/diff/1/2#newcode951 gclient_scm.py:951: new_command.append('--force') but i don't want to use force on ...
10 years, 4 months ago (2010-08-17 14:20:34 UTC) #2
M-A Ruel
svn up --force fixes issues when an old directory still exists and a new DEPS ...
10 years, 4 months ago (2010-08-17 14:33:28 UTC) #3
nsylvain
10 years, 4 months ago (2010-08-17 14:34:50 UTC) #4
oh, i see.

lgtm either way

Powered by Google App Engine
This is Rietveld 408576698