From 6dd006e706d8724cd46d21c210c508368aaf7f2e Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Mon, 12 Sep 2011 22:38:15 +0000 Subject: [PATCH] Replace tags with matching revision numbers in DEPS. Using head revisions (as when tags are used) triggers a longer gclient check than with a specific rev number. This brings a warm gclient sync on my machine from about 4.5 s to 2.5 s. Review URL: http://webrtc-codereview.appspot.com/140012 git-svn-id: http://webrtc.googlecode.com/svn/trunk@586 4adac7df-926f-26a2-2b94-8c16560cd09d --- DEPS | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/DEPS b/DEPS index 72265345cb..a48b81580a 100644 --- a/DEPS +++ b/DEPS @@ -1,13 +1,14 @@ vars = { - "webrtc_trunk" : "https://webrtc.googlecode.com/svn/trunk", - "chromium_trunk" : "http://src.chromium.org/svn/trunk", - "chromium_revision": "98568", # Use this googlecode_url variable only if there is an internal mirror for it. # If you do not know, use the full path while defining your new deps entry. "googlecode_url": "http://%s.googlecode.com/svn", + "webrtc_trunk" : "https://webrtc.googlecode.com/svn/trunk", + "chromium_trunk" : "http://src.chromium.org/svn/trunk", + "chromium_revision": "98568", "libjingle_revision": "77", } +# NOTE: Prefer revision numbers to tags. deps = { "trunk/build": Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), @@ -45,7 +46,7 @@ deps = { Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"), "trunk/third_party/google-gflags/src": - (Var("googlecode_url") % "google-gflags") + "/tags/gflags-1.5/src@head", + (Var("googlecode_url") % "google-gflags") + "/trunk/src@45", "trunk/third_party/libjingle/source": (Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"), @@ -57,7 +58,7 @@ deps = { Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228", "trunk/third_party/jsoncpp/": - "https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/tags/jsoncpp/0.5.0", + "https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@139", } deps_os = {