Lines Matching refs:revision

12   associated with the SVN revision number.
72 search_depth: (int) how far back to look for the revision.
128 '-r', '--revision', type='int', default=None,
129 help='The Skia SVN revision number, defaults to top of tree.')
132 help='A partial Skia Git hash. Do not set this and revision.')
144 help='How far back to look for the revision.')
175 '(git-svn-id: [^@ ]+@|SVN changes up to revision |'
176 'LKGR w/ DEPS up to revision )(?P<return>[0-9]+)')
233 """Finds revision number and git hash of origin/master in the Skia tree.
239 A tuple (revision, hash)
240 revision: (int) SVN revision number.
244 roll_deps.DepsRollError: if the revision can't be found.
249 revision = get_svn_revision(config, 'origin/master')
254 return revision, git_hash
257 def revision_and_hash_from_revision(config, revision):
258 """Finds revision number and git hash of a commit in the Skia tree.
262 revision: (int) SVN revision number.
265 A tuple (revision, hash)
266 revision: (int) SVN revision number.
270 roll_deps.DepsRollError: if the revision can't be found.
275 revision_regex = config.revision_format % revision
281 return revision, git_hash
285 """Returns the SVN revision number and full git hash.
292 A tuple (revision, hash)
293 revision: (int) SVN revision number.
297 roll_deps.DepsRollError: if the revision can't be found.
306 revision = get_svn_revision(config, git_hash)
307 return revision, git_hash
310 def change_skia_deps(revision, git_hash, depspath):
316 revision: (int) Skia SVN revision.
326 deps_regex_rev_repl = '"skia_revision": "%d",' % revision
370 git, 'cl', 'try', '-m', 'tryserver.chromium', '--revision', svn_info]
393 def roll_deps(config, revision, git_hash):
400 revision: (int) Skia SVN revision.
419 if revision == int(old_revision):
433 'Chromium base revision: %d / %s\n\n'
452 branch = 'roll_%d_%s' % (revision, master_hash[:8])
457 'Chromium base revision: %d / %s\n'
458 'Old Skia revision: %s\n'
459 'New Skia revision: %d\n'
464 % (revision, master_revision, master_hash[:8],
465 old_revision, revision, control_url))
470 change_skia_deps(revision, git_hash, 'DEPS')
478 def find_hash_and_roll_deps(config, revision=None, partial_hash=None):
487 revision: (int or None) the Skia SVN revision number or None
490 hash. Don't pass both partial_hash and revision.
493 roll_deps.DepsRollError: if the revision can't be found.
498 if revision and partial_hash:
499 raise DepsRollError('Pass revision or partial_hash, not both.')
502 revision, git_hash = revision_and_hash_from_partial(
504 elif revision:
505 revision, git_hash = revision_and_hash_from_revision(config, revision)
507 revision, git_hash = revision_and_hash(config)
509 print 'revision=%r\nhash=%r\n' % (revision, git_hash)
511 deps_issue, whitespace_issue = roll_deps(config, revision, git_hash)
538 find_hash_and_roll_deps(config, options.revision, options.git_hash)