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