changeset 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 8c545dcad7b1
children cbd230043379
files tests/comprehensive/test_stupid_pull.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):