Lines Matching refs:git
23 Be aware that if you're using the git workflow and specify an svn revision,
24 the script will attempt to find the git SHA1 where svn changes up to that
28 An example usage (using git hashes):
69 # svn: Needed for git workflow to resolve hashes to svn revisions.
172 DEPS_SHA_PATCH = """diff --git src/DEPS.sha src/DEPS.sha
609 """Run a git subcommand, returning its output and return code.
612 command: A list containing the args to git.
613 cwd: A directory to change to while running the git command (optional).
618 command = ['git'] + command
624 """Run a git subcommand, returning its output and return code. Asserts if
628 command: A list containing the args to git.
636 ' "git %s"' % ' '.join(command)
982 system used for chromium. For now only git is supported, but in the
993 revision: The git SHA1 or svn CL (depending on workflow).
1002 """Uses repo to sync all the underlying git depots to the specified
1066 """If an SVN revision is supplied, try to resolve it to a git SHA1.
1070 resolved to a git SHA1.
1073 to a git hash. If the value is negative, the function will search
1077 A string containing a git SHA1 hash, otherwise None.
1079 # Android-chrome is git only, so no need to resolve this to anything else.
1101 svn_pattern = 'git-svn-id: %s@%d' % (depot_svn, i)
1108 ' "git %s"' % ' '.join(cmd)
1153 """Maps directly to the 'git svn find-rev' command.
1156 revision: The git SHA1 to use.
1293 'git log --format=%%ct --before=%d --after=%d' % (
1438 rxp = re.compile(".git@(?P<revision>[a-fA-F0-9]+)")
1560 Checks for build archive with Git hash or SVN revision. If either of the
1564 revision: A Git hash revision.
1573 # Source archive file path on cloud storage using Git revision.
1589 revision: The Git revision to download or build.
1712 revision: A Git hash revision.
1788 it resolves the given git hash to SVN revision and replace it in DEPS file.
1791 revision: A git hash revision of the dependency repository.
1808 # contains "angle_revision" key that holds git hash instead of SVN revision.
1811 # angle.git@[a-fA-F0-9]{40}$ and replace git hash.
1879 variable contains "angle_revision" key that holds git hash instead of
1884 angle.git@[a-fA-F0-9]{40}$ and replace git hash.
1901 # "/angle/angle.git@fa63e947cb3eccf463648d21a05d5002c9b8adfa",.
1903 r'(?<=angle\.git@)([a-fA-F0-9]{40})(?=")', re.MULTILINE)
1921 revision: A git hash revision of the dependency repository.
1924 A tuple with git hash of chromium revision and DEPS patch text.
1929 # Get current chromium revision (git hash).
2300 given revision. This is only useful in the git workflow, as an svn depot
2303 ie. skia is broken up into 3 git mirrors over skia/src, skia/gyp, and
2319 # Some SVN depots were split into multiple git depots, so we need to
2320 # figure out for each mirror which git revision to grab. There's no
2322 # depots, so we have to grep the git logs and grab the next earlier one.
2361 its faster to just delete the directory rather than leave it up to git
2422 # issues syncing when using the git workflow (crbug.com/266324).
2427 # issues syncing when using the git workflow (crbug.com/377951).
2458 is git based those changes would have no effect.
2800 range also includes the change to .DEPS.git. If it doesn't, attempts to
2816 # bad_revision to see if there are matching .DEPS.git changes.
2827 # Try looking for a commit that touches the .DEPS.git file in the
2836 'revision range to include change to .DEPS.git')
2840 'matching change to .DEPS.git')
2928 # If they passed SVN CL's, etc... we can try match them to git SHA1's.
3224 # Format is "git-svn-id: svn://....@123456 <other data>"
3225 svn_line = [i for i in info['body'].splitlines() if 'git-svn-id:' in i]
3493 'pwd ; git log --pretty=oneline --before=%d --after=%d' % (
3740 'Must be later than good revision. May be either a git' +
3746 'bad revision. May be either a git or svn revision.')
3990 # Check what source control method they're using. Only support git workflow
3995 raise RuntimeError("Sorry, only the git workflow is supported at the "