Mercurial > hgsubversion
comparison tests/test_single_dir_clone.py @ 1323:6fd0ec01553b stable
Merge to stable for release.
| author | Augie Fackler <raf@durin42.com> |
|---|---|
| date | Tue, 05 May 2015 14:09:43 -0400 |
| parents | a36e87ae2380 |
| children | d55c9d0ba350 |
comparison
equal
deleted
inserted
replaced
| 1306:b13f320ff4e3 | 1323:6fd0ec01553b |
|---|---|
| 19 repo = self._load_fixture_and_fetch('branch_from_tag.svndump', | 19 repo = self._load_fixture_and_fetch('branch_from_tag.svndump', |
| 20 layout='single', | 20 layout='single', |
| 21 subdir='') | 21 subdir='') |
| 22 self.assertEqual(compathacks.branchset(repo), | 22 self.assertEqual(compathacks.branchset(repo), |
| 23 set(['default'])) | 23 set(['default'])) |
| 24 self.assertEqual(repo['tip'].manifest().keys(), | 24 self.assertEqual(sorted(repo['tip'].manifest().keys()), |
| 25 ['trunk/beta', | 25 ['branches/branch_from_tag/alpha', |
| 26 'branches/branch_from_tag/beta', | |
| 26 'tags/copied_tag/alpha', | 27 'tags/copied_tag/alpha', |
| 27 'trunk/alpha', | |
| 28 'tags/copied_tag/beta', | 28 'tags/copied_tag/beta', |
| 29 'branches/branch_from_tag/alpha', | |
| 30 'tags/tag_r3/alpha', | 29 'tags/tag_r3/alpha', |
| 31 'tags/tag_r3/beta', | 30 'tags/tag_r3/beta', |
| 32 'branches/branch_from_tag/beta']) | 31 'trunk/alpha', |
| 32 'trunk/beta']) | |
| 33 | 33 |
| 34 def test_auto_detect_single(self): | 34 def test_auto_detect_single(self): |
| 35 repo = self._load_fixture_and_fetch('branch_from_tag.svndump', | 35 repo = self._load_fixture_and_fetch('branch_from_tag.svndump', |
| 36 layout='auto') | 36 layout='auto') |
| 37 self.assertEqual(compathacks.branchset(repo), | 37 self.assertEqual(compathacks.branchset(repo), |
