Mercurial > hgsubversion
comparison tests/test_fetch_branches.py @ 232:c0063328587f
Fix and test for directory deletes during branch creation.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 07 Apr 2009 17:38:13 -0500 |
parents | 883976b654b6 |
children | 60acc38eac96 |
comparison
equal
deleted
inserted
replaced
231:b1543f243910 | 232:c0063328587f |
---|---|
51 '8a525ca0671f456e6b1417187bf86c6115d2cb78') | 51 '8a525ca0671f456e6b1417187bf86c6115d2cb78') |
52 | 52 |
53 def test_replace_trunk_with_branch_stupid(self): | 53 def test_replace_trunk_with_branch_stupid(self): |
54 self.test_replace_trunk_with_branch(stupid=True) | 54 self.test_replace_trunk_with_branch(stupid=True) |
55 | 55 |
56 def test_branch_create_with_dir_delete_works(self, stupid=False): | |
57 repo = self._load_fixture_and_fetch('branch_create_with_dir_delete.svndump', | |
58 stupid) | |
59 self.assertEqual(repo['tip'].manifest().keys(), | |
60 ['alpha', 'beta', 'iota', 'gamma', ]) | |
61 | |
56 def suite(): | 62 def suite(): |
57 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), | 63 all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), |
58 ] | 64 ] |
59 return unittest.TestSuite(all) | 65 return unittest.TestSuite(all) |