summaryrefslogtreecommitdiffstats
path: root/tools/sync-webkit-git.py
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 18:26:14 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 18:26:14 +0000
commit830cb6b929f4f6fe2896dddcec421d4f8652be83 (patch)
treed18ee7e07858c95e5dba28ed67fca4da78ba60ac /tools/sync-webkit-git.py
parent56037b483b4448ddfbbf66617d51b70a6583cd0b (diff)
downloadchromium_src-830cb6b929f4f6fe2896dddcec421d4f8652be83.zip
chromium_src-830cb6b929f4f6fe2896dddcec421d4f8652be83.tar.gz
chromium_src-830cb6b929f4f6fe2896dddcec421d4f8652be83.tar.bz2
Fix regexp matching while looking for svn revision.
Review URL: http://codereview.chromium.org/207056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/sync-webkit-git.py')
-rwxr-xr-xtools/sync-webkit-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sync-webkit-git.py b/tools/sync-webkit-git.py
index 2809233..41a4a15 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):