/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
__init__.py | 5 from .git import Git, AmbiguousCommitError
|
detection.py | 36 from .git import Git 74 if Git.in_working_directory(absolute_path, executive=self._executive): 75 return Git(cwd=absolute_path, filesystem=self._filesystem, executive=self._executive)
|
git.py | 50 class Git(SCM): 52 # Git doesn't appear to document error codes, but seems to return 56 executable_name = 'git' 74 # The Windows bots seem to through a WindowsError when git isn't installed. 78 # "git rev-parse --show-cdup" would be another way to get to the root 80 if not self._filesystem.isabs(checkout_root): # Sometimes git returns relative paths 100 return self._filesystem.exists(self.absolute_path(self._filesystem.join('.git', 'rebase-apply'))) 106 # Could run git clean here too, but that wouldn't match subversion 113 # git status returns non-zero when there are changes, so we use git diff name --name-status HEAD instead [all...] |
scm_unittest.py | 41 from webkitpy.common.checkout.scm.git import Git, AmbiguousCommitError 114 return self._make_diff("git", *args) 142 # git svn complains if we don't pass --pre-1.5-compatible, not sure why: 143 # Expected FS format '2'; found format '3' at /usr/local/libexec/git-core//git-svn line 1477 150 # Create and checkout a trunk dir to match the standard svn configuration to match git-svn's expectations 177 # svn-apply fails to remove directories in Git, see: 318 """Sets up fresh git repository with one commit. Then sets up a second git repo that tracks the first one."" [all...] |
/external/chromium_org/v8/tools/push-to-trunk/ |
git_recipes.py | 32 ROLL_DEPS_GIT_SVN_ID_RE = re.compile('^git-svn-id: .*@([0-9]+) .*$') 43 # Key for the 'git-svn' ID metadata commit footer entry. 44 GIT_SVN_ID_FOOTER_KEY = 'git-svn-id' 46 # e.g., git-svn-id: https://v8.googlecode.com/svn/trunk@23117 98 return self.Git("status -s -uno", **kwargs).strip() == "" 102 return self.Git("branch", **kwargs) 106 self.Git(MakeArgs(["checkout -b", name, branch]), **kwargs) 110 self.Git(MakeArgs(["branch -D", name]), **kwargs) 114 self.Git(MakeArgs(["reset --hard", name]), **kwargs) 117 self.Git(MakeArgs(["stash"]), **kwargs [all...] |
test_scripts.py | 440 self.Expect([Cmd("git --version", "git version 1.2.3"), 441 Cmd("git dummy", "")]) 442 self.assertEquals("git version 1.2.3", self.MakeStep().Git("--version")) 443 self.assertEquals("", self.MakeStep().Git("dummy")) 447 Cmd("git status -s -uno", ""), 448 Cmd("git status -s -b -uno", "## some_branch"), 449 Cmd("git svn fetch", ""), 450 Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]) [all...] |
common_includes.py | 184 # from subscripts like git cl upload. 349 def Git(self, args="", prefix="", pipe=True, retry_on=None, cwd=None): 351 "git", args, prefix, pipe, cwd=cwd or self.default_cwd) 354 raise GitFailedException("'git %s' failed." % args) 406 # Cancel if this is not a git checkout. 407 if not os.path.exists(os.path.join(cwd, ".git")): # pragma: no cover 408 self.Die("This is not a git checkout, this script won't work for you.") 471 "'git add', and type \"RESOLVED<Return>\"")
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
host.py | 103 self.executive.run_command(['git', 'help']) 106 self.executive.run_command(['git.bat', 'help']) 108 # of development tools, including Python and git. Instead of using a 109 # real git executable, depot_tools indirects via a batch file, called 110 # git.bat. This batch file allows depot_tools to auto-update the real 111 # git executable, which is contained in a subdirectory. 114 # the difference between a real git executable and batch file when we 116 # We hack the git.bat name into the SVN class. 117 _log.debug('Engaging git.bat Windows hack.') 118 from webkitpy.common.checkout.scm.git import Gi [all...] |
/external/chromium_org/third_party/opus/src/win32/ |
genversion.bat | 5 for /f %%v in ('git --git-dir="%~dp0..\.git" describe --tags --match "v*"') do set version=%%v 11 echo Git cannot be found, nor can version.mk. Generating unknown version.
|
/external/libopus/win32/ |
genversion.bat | 5 for /f %%v in ('git --git-dir="%~dp0..\.git" describe --tags --match "v*"') do set version=%%v 11 echo Git cannot be found, nor can version.mk. Generating unknown version.
|
/external/smali/ |
build.gradle | 41 def git = org.eclipse.jgit.api.Git.open(file('.')) 42 def head = git.getRepository().getRef("HEAD") 45 if (!git.status().call().clean) { 125 connection 'scm:git:git://github.com/JesusFreke/smali.git' 126 developerConnection 'scm:git:git@github.com:JesusFreke/smali.git' [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
validate-committer-lists | 43 from webkitpy.common.checkout.scm import Git 164 git_log_args = ['git', 'log', '--reverse', '--pretty=format:%ae %at'] 271 if not Git.in_working_directory("."): 272 print """\n\nWARNING: validate-committer-lists requires a git checkout.
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/bot/ |
commitannouncer.py | 31 from webkitpy.common.checkout.scm.git import Git 45 self.git = Git(cwd=tool.scm().checkout_root, filesystem=tool.filesystem, executive=tool.executive) 54 self.last_commit = self.git.latest_git_commit() 63 new_commits = self.git.git_commits_since(self.last_commit) 98 if not self.git.is_cleanly_tracking_remote_master(): 104 self.git.ensure_cleanly_tracking_remote_master() 123 self.git.pull() 145 return self._format_commit_detail(self.git.git_commit_detail(commit, self._commit_detail_format) [all...] |
/external/chromium_org/v8/tools/ |
v8-info.sh | 49 Fetches V8 revision information from a git-svn checkout. 56 Output format: [Git hash] [SVN revision] [V8 version] 76 git for-each-ref --format="%(objectname) %(refname:short)" refs/remotes/svn 84 git log --format="%h %ci %ce %s" -1 $1 96 git svn log -1 --oneline $1 | cut -d" " -f1 109 git svn find-rev $2 svn/$1 113 cd $(git rev-parse --show-toplevel) 114 rev=$(git show $1:$VERSION \ 123 git cherry -v svn/trunk svn/$1 | while read merge; do
|
/frameworks/webview/chromium/tools/ |
merge_from_chromium.py | 38 """Reads a file from a (possibly remote) git project at a specific revision. 43 git_url: The URL of the git server, if reading a remote project. 49 merge_common.GetCommandStdout(['git', 'fetch', '-f', git_url, git_branch]) 50 return merge_common.GetCommandStdout(['git', 'show', '%s:%s' % (sha1, path)]) 93 """Gets the git URL and SHA1 for each project based on DEPS. 99 A dictionary from project to git URL and SHA1 - 'path: (url, sha1)' 139 root_sha1: The git hash to merge in the root repository. 163 # instead of .DEPS.git. Rename below when that day will come. 165 'releases/' + version + '/.DEPS.git', 184 merge_common.GetCommandStdout(['git', 'checkout' [all...] |