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

Issue 672004: Add a --snapshot option for revinfo. If set, revinfo prints a .gclient file... (Closed)

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

Description

Add a --snapshot option for revinfo. If set, revinfo prints a .gclient file set to sync to the current revisions/hashes on disk Add a --gclientfile=FILENAME option. If set, gclient loads FILENAME rather than .gclient for configuration info. Patch contributed by jneddo@nvidia.com BUG=1658 TEST=Verify that --snapshot prints a valid configuration file Verify that when --gclientfile is set the correct file is used Verify that gclient sync --gclientfile sets the correct revisions Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41078

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -32 lines) Patch
M gclient.py View 1 2 6 chunks +93 lines, -32 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jneddo1
Adds a way to take a snapshot of the current tree
10 years, 9 months ago (2010-03-08 20:43:55 UTC) #1
M-A Ruel
Sorry for the delay; I'm fine with the idea, I'm just warry of having two ...
10 years, 9 months ago (2010-03-09 15:19:23 UTC) #2
jneddo1
Are you suggesting that PrintRevInfo get folded into RunOnDeps? That makes sense to me - ...
10 years, 9 months ago (2010-03-09 17:37:54 UTC) #3
M-A Ruel
On 2010/03/09 17:37:54, jneddo1 wrote: > Are you suggesting that PrintRevInfo get folded into RunOnDeps? ...
10 years, 9 months ago (2010-03-09 18:41:35 UTC) #4
jneddo1
http://codereview.chromium.org/672004/diff/1/2 File gclient.py (right): http://codereview.chromium.org/672004/diff/1/2#newcode847 gclient.py:847: solution_names = {} On 2010/03/09 15:19:23, Marc-Antoine Ruel wrote: ...
10 years, 9 months ago (2010-03-09 21:01:24 UTC) #5
M-A Ruel
lgtm with minor style nits. Can you upload again with the nits fixed and I'll ...
10 years, 9 months ago (2010-03-09 21:22:49 UTC) #6
jneddo1
http://codereview.chromium.org/672004/diff/6001/7001 File gclient.py (right): http://codereview.chromium.org/672004/diff/6001/7001#newcode912 gclient.py:912: } On 2010/03/09 21:22:49, Marc-Antoine Ruel wrote: > align ...
10 years, 9 months ago (2010-03-09 21:33:39 UTC) #7
M-A Ruel
10 years, 9 months ago (2010-03-09 21:40:57 UTC) #8
Thanks, committed.

Powered by Google App Engine
This is Rietveld 408576698