author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
Tue, 24 Jun 2008 09:36:24 +0200 | |
changeset 6726 | e85951aeec6e |
parent 6725 | d43707e09b02 |
child 6727 | f4b6dec99950 |
--- a/mercurial/localrepo.py Tue Jun 24 09:34:38 2008 +0200 +++ b/mercurial/localrepo.py Tue Jun 24 09:36:24 2008 +0200 @@ -1205,7 +1205,7 @@ return [n for (r, n) in heads] def branchheads(self, branch=None, start=None): - branch = branch or self.workingctx().branch() + branch = branch is None and 'default' or self.workingctx().branch() branches = self.branchtags() if branch not in branches: return []