Skip to content

Commit

Permalink
Fix regexp matching while looking for svn revision.
Browse files Browse the repository at this point in the history
Review URL: http://codereview.chromium.org/207056

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26838 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
kuchhal@chromium.org committed Sep 22, 2009
1 parent 56037b4 commit 830cb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sync-webkit-git.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 830cb6b

Please sign in to comment.