Mercurial > hgsubversion
diff tests/test_fetch_command.py @ 203:907c160c6289
Refactor branch handling to be much more dynamic (and hopefully robust).
This should allow fixing of several outstanding issues with branch handling. Note that this is a *massive* change to one of the oldest parts of hgsubversion, so it might introduce bugs not caught by the testsuite.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 02 Mar 2009 23:58:38 -0600 |
parents | 906d3f302b45 |
children | b20a6c149021 |
line wrap: on
line diff
--- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -82,9 +82,12 @@ class TestBasicRepoLayout(test_util.Test def test_file_mixed_with_branches(self): repo = self._load_fixture_and_fetch('file_mixed_with_branches.svndump') - self.assertEqual(node.hex(repo['tip'].node()), + self.assertEqual(node.hex(repo['default'].node()), '434ed487136c1b47c1e8f952edb4dc5a8e6328df') assert 'README' not in repo + self.assertEqual(repo['tip'].branch(), + '../branches') + def test_files_copied_from_outside_btt(self): repo = self._load_fixture_and_fetch(