Lines Matching refs:sha1

40 def _ReadGitFile(sha1, path, git_url=None, git_branch=None):
44 sha1: The SHA1 at which to read.
53 return merge_common.GetCommandStdout(['git', 'show', '%s:%s' % (sha1, path)])
101 A dictionary from project to git URL and SHA1 - 'path: (url, sha1)'
127 sha1 = match.group(2)
128 logging.debug(' Got URL %s and SHA1 %s for project %s', url, sha1, path)
129 result[path] = {'url': url, 'sha1': sha1}
173 sha1 = merge_info[path]['sha1']
184 logging.debug('Fetching project %s at %s ...', path, sha1)
190 fetch_args.append(sha1)
192 if merge_common.GetCommandStdout(['git', 'rev-list', '-1', 'HEAD..' + sha1],
194 logging.debug('Merging project %s at %s ...', path, sha1)
196 merge_common.GetCommandStdout(['git', 'merge', '--no-commit', sha1],
199 'Merge %s from %s at %s\n\n%s' % (path, url, sha1, AUTOGEN_MESSAGE),
211 root_sha1 = merge_info['']['sha1']
272 'tools/gn/bin/linux/gn.sha1'])
363 svn_revision, sha1 = _GetSVNRevisionAndSHA1('HEAD', 'HEAD')
409 def _GetSVNRevisionFromSha(sha1):
411 'git', 'show', '--format=%H%n%b', sha1])
423 sha1 = commit.split()[0]
425 return (svn_revision, sha1)
439 sha1 = output.split()[-1]
440 return (svn_revision, sha1)
459 root_sha1: The sha1 in the Chromium git mirror to merge from.
546 'Only one of svn_revision, sha1 and release should be specified'))
548 '', '--sha1',
550 help=('Merge to the specified chromium sha1 revision from ' + SRC_GIT_BRANCH
552 'svn_revision, sha1 and release should be specified.'))
557 '"30.0.1599.20"). Only one of svn_revision, sha1 and release '
614 if not Snapshot(options.svn_revision, options.sha1, options.release,