Lines Matching refs:git
11 - searches through the last N Skia git commits to find out the hash that is
19 To specify the location of the git executable, set the GIT_EXECUTABLE
68 git: (string) The git executable.
69 chromium_path: (string) path to a local chromium git repository.
71 verbose: (boolean) iff false, suppress the output from git-cl.
73 skia_url: (string) Skia's git repository.
80 self.skia_url = 'https://skia.googlesource.com/skia.git'
82 'git-svn-id: http://skia.googlecode.com/svn/trunk@%d ')
84 self.git = git_utils.git_executable()
123 '-c', '--chromium_path', help='Path to local Chromium Git'
132 help='A partial Skia Git hash. Do not set this and revision.')
138 help='Path of a pure-git Skia repository checkout. If empty,'
149 '', '--verbose', help='Do not suppress the output from `git cl`.',
158 ' To skip `git cl try`, set this to an empty string.'
173 """Works in both git and git-svn. returns a string."""
175 '(git-svn-id: [^@ ]+@|SVN changes up to revision |'
179 [config.git, 'log', '-n', '1', '--format=format:%B', commit])
187 """Class to create a temporary skia git checkout, if necessary.
199 git = config.git
209 config.vsp.check_call([git, 'fetch', '-q', 'origin'])
217 [git, 'clone', '-q', '--depth=%d' % self._depth,
233 """Finds revision number and git hash of origin/master in the Skia tree.
241 git_hash: (string) full Git commit hash.
245 OSError: failed to execute git or git-cl.
246 subprocess.CalledProcessError: git returned unexpected status.
251 [config.git, 'show-ref', 'origin/master', '--hash'])
253 raise DepsRollError('Git hash can not be found.')
258 """Finds revision number and git hash of a commit in the Skia tree.
267 git_hash: (string) full Git commit hash.
271 OSError: failed to execute git or git-cl.
272 subprocess.CalledProcessError: git returned unexpected status.
277 [config.git, 'log', '--grep', revision_regex,
280 raise DepsRollError('Git hash can not be found.')
285 """Returns the SVN revision number and full git hash.
289 partial_hash: (string) Partial git commit hash.
294 git_hash: (string) full Git commit hash.
298 OSError: failed to execute git or git-cl.
299 subprocess.CalledProcessError: git returned unexpected status.
303 ['git', 'log', '-n', '1', '--format=format:%H', partial_hash])
305 raise DepsRollError('Partial Git hash can not be found.')
317 git_hash: (string) Skia Git hash.
340 """Create a commit in the current git branch; upload via git-cl.
347 file_list: (list of strings) list of filenames to pass to `git add`.
350 The output of `git cl issue`, if not config.skip_cl_upload, else ''.
353 git, vsp = config.git, config.vsp
358 vsp.check_call([git, 'add', filename])
360 vsp.check_call([git, 'commit', '-q', '-m', message])
362 git_cl = [git, 'cl', 'upload', '-f',
370 git, 'cl', 'try', '-m', 'tryserver.chromium', '--revision', svn_info]
379 misc_utils.print_subprocess_args(space, [git, 'checkout', branch_name])
387 issue = vsp.strip_output([git, 'cl', 'issue'])
401 git_hash: (string) Skia Git hash.
407 OSError: failed to execute git or git-cl.
408 subprocess.CalledProcessError: git returned unexpected status.
411 git = config.git
413 config.vsp.check_call([git, 'fetch', '-q', 'origin'])
417 [git, 'show', 'origin/master:DEPS'])
424 [git, 'show-ref', 'origin/master', '--hash'])
481 The calls to git will be verbose on standard output. After a
489 partial_hash: (string or None) a partial pure-git Skia commit
494 OSError: failed to execute git or git-cl.
495 subprocess.CalledProcessError: git returned unexpected status.
535 option_parser.error('Invalid git executable.')