Mercurial > hgsubversion
diff tests/comprehensive/test_stupid_pull.py @ 445:24a8471069c0
tests: test for heads equality instead of branchtags
branchtags may exclude other heads which could be dissimilar.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 16 Jun 2009 13:58:39 +0200 |
parents | 987bd7444f60 |
children | 1fd3cfa47c5e |
line wrap: on
line diff
--- a/tests/comprehensive/test_stupid_pull.py +++ b/tests/comprehensive/test_stupid_pull.py @@ -21,7 +21,7 @@ def _do_case(self, name): u.setconfig('hgsubversion', 'stupid', '1') hg.clone(u, test_util.fileurl(checkout_path), wc2_path, update=False) self.repo2 = hg.repository(ui.ui(), wc2_path) - self.assertEqual(self.repo.branchtags(), self.repo2.branchtags()) + self.assertEqual(self.repo.heads(), self.repo2.heads()) def buildmethod(case, name):