Mercurial > hgsubversion
diff tests/test_fetch_branches.py @ 473:45df4d9320fa
Fix 'parent dir of a branch is deleted' refactoring from 343da84.
author | Max Bowsher <maxb@f2s.com> |
---|---|
date | Sat, 04 Jul 2009 18:12:18 +0100 |
parents | f5222d021665 |
children | d17cec76e769 |
line wrap: on
line diff
--- a/tests/test_fetch_branches.py +++ b/tests/test_fetch_branches.py @@ -116,6 +116,12 @@ class TestFetchBranches(test_util.TestBa def test_branches_weird_moves_stupid(self): self.test_branches_weird_moves(True) + def test_branch_delete_parent_dir(self, stupid=False): + repo = self._load_fixture_and_fetch('branch_delete_parent_dir.svndump', + stupid) + self.assertEqual(node.hex(repo['tip'].node()), + '4108a81a82c7925d5551091165dc54c41b06a8a8') + def suite(): all = [unittest.TestLoader().loadTestsFromTestCase(TestFetchBranches), ]