| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -448,6 +448,11 @@ def test_base(self, rw_repo, remote_repo): | |||
| 448 | 448 | # Verify we can handle prunes when fetching | |
| 449 | 449 | # stderr lines look like this: x [deleted] (none) -> origin/experiment-2012 | |
| 450 | 450 | # These should just be skipped | |
| 451 | + # If we don't have a manual checkout, we can't actually assume there are any non-master branches | ||
| 452 | + remote_repo.create_head("myone_for_deletion") | ||
| 453 | + # Get the branch - to be pruned later | ||
| 454 | + origin.fetch() | ||
| 455 | + | ||
| 451 | 456 | num_deleted = False | |
| 452 | 457 | for branch in remote_repo.heads: | |
| 453 | 458 | if branch.name != 'master': | |
| Back | FazBrowse Home | New Git URL |
0 commit comments