Mercurial > hgsubversion
diff tests/test_fetch_command.py @ 1463:86ae03f889a4
test_util: allow counting converted revisions
...and while at it, use a more reliable test for filtering out
obsolete revisions.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Sat, 10 Aug 2013 07:46:21 +0200 |
parents | ca36d5915dc7 |
children | d55c9d0ba350 |
line wrap: on
line diff
--- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -93,7 +93,7 @@ class TestBasicRepoLayout(test_util.Test 'test_files_copied_from_outside_btt.svndump') self.assertEqual(node.hex(repo['tip'].node()), '3c78170e30ddd35f2c32faa0d8646ab75bba4f73') - self.assertEqual(test_util.repolen(repo.changelog), 2) + self.assertEqual(test_util.repolen(repo), 2) def test_file_renamed_in_from_outside_btt(self): repo = self._load_fixture_and_fetch(