Mercurial > hgsubversion
comparison tests/test_fetch_branches.py @ 1599:7bb6562feb85
compathacks: drop branchset() which is compat code for hg<2.9
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Tue, 27 Nov 2018 14:08:11 +0300 |
parents | d55c9d0ba350 |
children |
comparison
equal
deleted
inserted
replaced
1598:394007c5efea | 1599:7bb6562feb85 |
---|---|
98 self.assertRaises(error.RepoLookupError, | 98 self.assertRaises(error.RepoLookupError, |
99 self._load_fixture_and_fetch_with_anchor, | 99 self._load_fixture_and_fetch_with_anchor, |
100 'unorderedbranch.svndump', 'NaN') | 100 'unorderedbranch.svndump', 'NaN') |
101 repo = self._load_fixture_and_fetch_with_anchor( | 101 repo = self._load_fixture_and_fetch_with_anchor( |
102 'unorderedbranch.svndump', '4') | 102 'unorderedbranch.svndump', '4') |
103 self.assertTrue('c' not in compathacks.branchset(repo)) | 103 self.assertTrue('c' not in set(repo.branchmap())) |
104 | 104 |
105 def test_branches_weird_moves(self): | 105 def test_branches_weird_moves(self): |
106 repo = self._load_fixture_and_fetch('renamedproject.svndump', | 106 repo = self._load_fixture_and_fetch('renamedproject.svndump', |
107 subdir='project') | 107 subdir='project') |
108 heads = [repo[n] for n in repo.heads()] | 108 heads = [repo[n] for n in repo.heads()] |