Home
last modified time | relevance | path

Searched refs:repo (Results 1 – 6 of 6) sorted by relevance

/libcore/tools/expected_upstream/
Dojluni_refresh_files.py48 repo: Repo) -> List[ExpectedUpstreamEntry]:
50 head_tree = repo.head.commit.tree
56 commit = repo.commit(e.git_ref)
108 repo: Repo, checkout_only: bool) -> None:
151 upstream_commit = repo.commit(ref)
172 first_index = IndexFile.from_tree(repo, repo.commit(EMPTY_COMMIT_SHA))
187 prev_head = repo.active_branch.commit
188 second_index = IndexFile.from_tree(repo, prev_head)
200 repo.index.reset()
209 def create_commits(repo: Repo, checkout_only: bool) -> None:
[all …]
Dojluni_merge_to_main.py56 repo: Repo, commit: Commit) -> List[ExpectedUpstreamEntry]:
64 commit = repo.commit(e.git_ref)
116 def create_commit_staging_diff(repo: Repo) -> None:
124 head = repo.head
125 index = IndexFile.from_tree(repo, head.commit)
201 repo: Repo, head: Head, new_entries: List[ExpectedUpstreamEntry],
223 upstream_commit = repo.commit(ref)
242 repo.head.reference = head
243 repo.head.reset(index=True)
244 index = repo.index
[all …]
DREADME.md90 $ repo upload --cbr .
202 * `repo upload` may not succeed because gerrit returns error.
203 1. Just try to run `repo upload` again!
207 2. `repo upload` returns TimeOutException, but the CL has been uploaded.
213 repo upload --cbr . # try to upload it again
/libcore/tools/upstream/
Dmerge-from-upstream253 self.repo = Repo(repo_dir)
261 if os.path.lexists(self.repo.dir):
264 .format(self.repo.dir)):
267 'working dir'.format(self.repo.dir))
269 shutil.rmtree(self.repo.dir)
271 printerr("Unable to delete {}.".format(self.repo.dir))
274 self.repo.init()
276 self.repo.load_resolve_files(self.resolve_dir)
281 self.repo.commit_all(version, msg)
294 if self.repo.has_changes():
[all …]
Dpkg-status124 def java_dir(self, repo, pkg): argument
126 if repo == self.current:
130 return '%s/%s/%s' % (self.ojluni_upstreams, repo, relpath)
/libcore/tools/expected_upstream/tests/
Dcommon_util_test.py155 self.repo = Repo(LIBCORE_DIR.as_posix())
156 commit = self.repo.commit('jdk11u/jdk-11.0.13-ga')
161 self.repo.close()