r41078 broke revinfo for .gclient files with multiple solutions

This commit fixes that, though the --snapshot option doesn't work perfectly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@41351 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
nasser@codeaurora.org 16 years ago
parent 55e724e8fe
commit de8f352ebb

@ -847,11 +847,11 @@ class GClient(object):
new_gclient = ""
# Dictionary of { path : SCM url } to ensure no duplicate solutions
solution_names = {}
entries = {}
entries_deps_content = {}
# Run on the base solutions first.
for solution in solutions:
# Dictionary of { path : SCM url } to describe the gclient checkout
entries = {}
entries_deps_content = {}
name = solution["name"]
if name in solution_names:
raise gclient_utils.Error("solution %s specified more than once" % name)

Loading…
Cancel
Save