(self, parent, branch, target)
| 3790 | return True |
| 3791 | |
| 3792 | def searchParent(self, parent, branch, target): |
| 3793 | targetTree = read_pipe(["git", "rev-parse", |
| 3794 | "{}^{{tree}}".format(target)]).strip() |
| 3795 | for line in read_pipe_lines(["git", "rev-list", "--format=%H %T", |
| 3796 | "--no-merges", parent]): |
| 3797 | if line.startswith("commit "): |
| 3798 | continue |
| 3799 | commit, tree = line.strip().split(" ") |
| 3800 | if tree == targetTree: |
| 3801 | if self.verbose: |
| 3802 | print("Found parent of %s in commit %s" % (branch, commit)) |
| 3803 | return commit |
| 3804 | return None |
| 3805 | |
| 3806 | def importChanges(self, changes, origin_revision=0): |
| 3807 | cnt = 1 |
no test coverage detected