diff -r eed52e7ab9cc -r 3e532b97d1e1 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Jun 25 10:37:07 2008 +0200 +++ b/mercurial/localrepo.py Wed Jun 25 10:54:48 2008 +0200 @@ -1205,7 +1205,7 @@ return [n for (r, n) in heads] def branchheads(self, branch=None, start=None): - branch = branch is None and 'default' or self.workingctx().branch() + branch = branch is None and self.workingctx().branch() or branch branches = self.branchtags() if branch not in branches: return []