Index: tools/sync-webkit-git.py |
diff --git a/tools/sync-webkit-git.py b/tools/sync-webkit-git.py |
index 280923353e9a4bb976b784a17cc78125286d8315..41a4a15434971cf9f2dddf64c66e4e2634e589d5 100755 |
--- a/tools/sync-webkit-git.py |
+++ b/tools/sync-webkit-git.py |
@@ -35,7 +35,7 @@ def FindSVNRev(rev): |
"""Map an SVN revision to a git hash. |
Like 'git svn find-rev' but without the git-svn bits.""" |
# We find r123 by grepping for a line with "git-svn-id: blahblahblah@123". |
- return RunGit(['rev-list', '-n', '1', '--grep=^git-svn-id: .*@%s$' % rev, |
+ return RunGit(['rev-list', '-n', '1', '--grep=^git-svn-id: .*trunk@%s ' % rev, |
'origin']) |
def UpdateGClientBranch(webkit_rev): |