mercurial/localrepo.py
changeset 8694 ca8d05e1f1d1
parent 8680 b6511055d37b
child 8699 f364cc1d98c4
--- a/mercurial/localrepo.py	Mon Jun 01 17:12:42 2009 +0200
+++ b/mercurial/localrepo.py	Wed Jun 03 13:42:55 2009 +0200
@@ -1113,7 +1113,7 @@
             finally:
                 wlock.release()
 
-    def heads(self, start=None, closed=True):
+    def heads(self, start=None, closed=False):
         heads = self.changelog.heads(start)
         def display(head):
             if closed:
@@ -1124,7 +1124,7 @@
         heads = [(-self.changelog.rev(h), h) for h in heads if display(h)]
         return [n for (r, n) in sorted(heads)]
 
-    def branchheads(self, branch=None, start=None, closed=True):
+    def branchheads(self, branch=None, start=None, closed=False):
         if branch is None:
             branch = self[None].branch()
         branches = self.branchmap()