(self)
| 1016 | shutil.move(path, self._fuse_commits_fp) |
| 1017 | |
| 1018 | def _load_fuse_commits(self): |
| 1019 | git_repo = self.gl_repo.git_repo |
| 1020 | with io.open(self._fuse_commits_fp, mode='r', encoding=ENCODING) as f: |
| 1021 | for ci_id in f: |
| 1022 | ci_id = ci_id.strip() |
| 1023 | yield git_repo[ci_id] |
| 1024 | os.remove(self._fuse_commits_fp) |
| 1025 | |
| 1026 | def fuse(self, src, ip, only=None, exclude=None, op_cb=None): |
| 1027 | """Fuse the given commits onto this branch. |