Show More
@@ -1205,7 +1205,7 b' class localrepository(repo.repository):' | |||||
1205 | return [n for (r, n) in heads] |
|
1205 | return [n for (r, n) in heads] | |
1206 |
|
1206 | |||
1207 | def branchheads(self, branch=None, start=None): |
|
1207 | def branchheads(self, branch=None, start=None): | |
1208 | branch = branch or self.workingctx().branch() |
|
1208 | branch = branch is None and 'default' or self.workingctx().branch() | |
1209 | branches = self.branchtags() |
|
1209 | branches = self.branchtags() | |
1210 | if branch not in branches: |
|
1210 | if branch not in branches: | |
1211 | return [] |
|
1211 | return [] |
General Comments 0
You need to be logged in to leave comments.
Login now