Lines Matching full:sha1
39 def _ReadGitFile(sha1, path, git_url=None, git_branch=None):
43 sha1: The SHA1 at which to read.
52 return merge_common.GetCommandStdout(['git', 'show', '%s:%s' % (sha1, path)])
94 """Gets the git URL and SHA1 for each project based on .DEPS.git.
100 A dictionary from project to git URL and SHA1 - 'path: (url, sha1)'
126 sha1 = match.group(2)
127 logging.debug(' Got URL %s and SHA1 %s for project %s', url, sha1, path)
128 result[path] = {'url': url, 'sha1': sha1}
172 sha1 = merge_info[path]['sha1']
183 logging.debug('Fetching project %s at %s ...', path, sha1)
184 merge_common.GetCommandStdout(['git', 'fetch', url, sha1], cwd=dest_dir)
185 if merge_common.GetCommandStdout(['git', 'rev-list', '-1', 'HEAD..' + sha1],
187 logging.debug('Merging project %s at %s ...', path, sha1)
189 merge_common.GetCommandStdout(['git', 'merge', '--no-commit', sha1],
192 'Merge %s from %s at %s\n\n%s' % (path, url, sha1, AUTOGEN_MESSAGE),
204 root_sha1 = merge_info['']['sha1']
338 svn_revision, sha1 = _GetSVNRevisionAndSHA1('HEAD', 'HEAD')
384 def _GetSVNRevisionFromSha(sha1):
386 'git', 'show', '--format=%H%n%b', sha1])
391 logging.debug('Getting SVN revision and SHA1 ...')
398 sha1 = commit.split()[0]
400 return (svn_revision, sha1)
414 sha1 = output.split()[-1]
415 return (svn_revision, sha1)
434 root_sha1: The sha1 in the Chromium git mirror to merge from.
521 'Only one of svn_revision, sha1 and release should be specified'))
523 '', '--sha1',
525 help=('Merge to the specified chromium sha1 revision from ' + SRC_GIT_BRANCH
527 'svn_revision, sha1 and release should be specified.'))
532 '"30.0.1599.20"). Only one of svn_revision, sha1 and release '
589 if not Snapshot(options.svn_revision, options.sha1, options.release,