Lines Matching refs:sha

40         sha: str
116 sha: str = attr.ib()
134 c = cls(data['sha'], data['description'], data['nominated'], main_sha=data['main_sha'], because_sha=data['because_sha'])
145 ['git', 'show', '--no-patch', '--format=%cs', self.sha],
154 'git', 'cherry-pick', '-x', self.sha,
164 await ui.feedback(f'{self.sha} ({self.description}) applied successfully')
172 await ui.feedback(f'{self.sha} ({self.description}) failed to apply\n{err}')
185 v = await commit_state(message=f'Mark {self.sha} as denominated')
187 await ui.feedback(f'{self.sha} ({self.description}) denominated successfully')
193 v = await commit_state(message=f'Mark {self.sha} as backported')
195 await ui.feedback(f'{self.sha} ({self.description}) backported successfully')
203 await ui.feedback(f'{self.sha} ({self.description}) committed successfully')
206 async def get_new_commits(sha: str) -> typing.List[typing.Tuple[str, str]]:
216 'git', 'log', '--pretty=oneline', f'{sha}..{upstream}',
220 assert p.returncode == 0, f"git log didn't work: {sha}"
233 async def is_commit_in_branch(sha: str) -> bool:
236 'git', 'merge-base', '--is-ancestor', sha, 'HEAD',
244 async def full_sha(sha: str) -> str:
247 'git', 'rev-parse', sha,
253 raise PickUIException(f'Invalid Sha {sha}')
260 'git', 'log', '--format=%B', '-1', commit.sha,
265 assert p.returncode == 0, f'git log for {commit.sha} failed'
316 shas: typing.Set[str] = set(c.sha for c in previous if c.nominated)
324 shas.add(commit.sha)
330 if oldc.sha == commit.because_sha:
357 for i, (sha, desc) in enumerate(new):
359 inner(Commit(sha, desc), version, m_commits, i, cb)))
387 asyncio.ensure_future(commit_state(message=f'Update to {commits[0].sha}'))