(pb: PackBuilder)
| 73 | def test_pack_with_delegate(testrepo: Repository, tmp_path: Path) -> None: |
| 74 | # loop through all branches and add each commit to the packbuilder |
| 75 | def pack_delegate(pb: PackBuilder) -> None: |
| 76 | for branch in pb._repo.branches: |
| 77 | br = pb._repo.branches.get(branch) |
| 78 | for commit in br.log(): |
| 79 | pb.add_recur(commit.oid_new) |
| 80 | |
| 81 | confirm_same_repo_after_packing(testrepo, tmp_path, pack_delegate) |
| 82 |