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

Unified Diff: Tools/Scripts/webkitpy/w3c/deps_updater.py

Issue 1164833003: update-w3c-deps: Fix a bug of wrong revisions in a CL description (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Focus on the message issue Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/w3c/deps_updater.py
diff --git a/Tools/Scripts/webkitpy/w3c/deps_updater.py b/Tools/Scripts/webkitpy/w3c/deps_updater.py
index 38efae3a952a398629e9531c11b79236f377eb35..0e1ac8b6843a13603ff20ea665052e4bb74ff011 100644
--- a/Tools/Scripts/webkitpy/w3c/deps_updater.py
+++ b/Tools/Scripts/webkitpy/w3c/deps_updater.py
@@ -5,7 +5,7 @@
"""Pull latest revisions of the W3C test repos and update our DEPS entries."""
import argparse
-
+import re
from webkitpy.common.webkit_finder import WebKitFinder
@@ -79,6 +79,7 @@ class DepsUpdater(object):
self.print_('## cloning %s' % repo)
self.cd('')
self.run(['git', 'clone', url])
+ self.cd(re.compile('.*/([^/]+)\.git').match(url).group(1))
self.print_('## noting the revision we are importing')
master_commitish = self.run(['git', 'show-ref', 'origin/master'])[1].split()[0]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698