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

Unified Diff: deps2git.py

Issue 235593002: A horrible hack for SVN-centric code. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/deps2git
Patch Set: Fix git_url handling. Created 6 years, 8 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: deps2git.py
diff --git a/deps2git.py b/deps2git.py
index 0b6edf905501e9b63c27ecfd3c59a8eaa02497b3..ef1a75fe1eeadddf158e6914daaeddd5aab93645 100755
--- a/deps2git.py
+++ b/deps2git.py
@@ -99,6 +99,12 @@ def SvnRevToGitHash(svn_rev, git_url, repos_path, workspace, dep_path,
else:
refspec = 'refs/remotes/origin/master'
+ # Work-around for:
+ # http://code.google.com/p/chromium/issues/detail?id=362222
+ if (git_url.startswith('https://chromium.googlesource.com/external/pefile')
+ and int(svn_rev) == 63):
+ return '1ceaa279daa62b71e3431e58f68be6a96dd1519a'
+
try:
return git_tools.Search(git_repo_path, svn_rev, mirror, refspec, git_url)
except Exception:
« 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