Lines Matching refs:commit
69 def __init__(self, ui: 'UI', commit: 'core.Commit'):
72 self.commit = commit
76 result, err = await self.commit.apply(self.ui)
84 await self.commit.denominate(self.ui)
89 await self.commit.backport(self.ui)
172 for commit in reversed(list(itertools.chain(self.new_commits, self.previous_commits))):
173 if commit.nominated and commit.resolution is core.Resolution.UNRESOLVED:
174 b = urwid.AttrMap(CommitWidget(self, commit), None, focus_map='reversed')
183 def remove_commit(self, commit: CommitWidget) -> None:
185 if c.base_widget is commit:
209 commit = c
214 await commit.apply(self)
232 def chp_failed(self, commit: 'CommitWidget', err: str) -> None:
249 … can_btn, 'click', lambda _: asyncio.ensure_future(commit.commit.abort_cherry(self, err)))
254 ok_btn, 'click', lambda _: asyncio.ensure_future(commit.commit.resolve(self)))
256 ok_btn, 'click', lambda _: self.remove_commit(commit))