# HG changeset patch # User Dirkjan Ochtman # Date 1245153519 -7200 # Node ID 24a8471069c034bd3119d35031c1f64af443ea33 # Parent 8c545dcad7b1aa0ca9a6de02d119c34f6de24f54 tests: test for heads equality instead of branchtags branchtags may exclude other heads which could be dissimilar. diff --git a/tests/comprehensive/test_stupid_pull.py b/tests/comprehensive/test_stupid_pull.py --- 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):