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

Side by Side Diff: tools/release/git_recipes.py

Issue 1095483002: Store hashes of current and previous shipped V8 version (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed more than 80 character line Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/release/releases.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 return match.group(2) 273 return match.group(2)
274 274
275 # Extract the svn revision from 'git-svn' metadata 275 # Extract the svn revision from 'git-svn' metadata
276 value = footer_map.get(GIT_SVN_ID_FOOTER_KEY) 276 value = footer_map.get(GIT_SVN_ID_FOOTER_KEY)
277 if value: 277 if value:
278 match = GIT_SVN_ID_RE.match(value) 278 match = GIT_SVN_ID_RE.match(value)
279 if match: 279 if match:
280 return match.group(1) 280 return match.group(1)
281 raise GitFailedException("Couldn't determine commit position for %s" % 281 raise GitFailedException("Couldn't determine commit position for %s" %
282 git_hash) 282 git_hash)
283
284 def GitGetHashOfTag(self, tag_name, **kwargs):
285 return self.Git("rev-list -1 " + tag_name).strip().encode("ascii", "ignore")
OLDNEW
« no previous file with comments | « no previous file | tools/release/releases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698