Show More
@@ -21,8 +21,11 b' def _local(path):' | |||||
21 | def addbranchrevs(lrepo, repo, branches, revs): |
|
21 | def addbranchrevs(lrepo, repo, branches, revs): | |
22 | if not branches: |
|
22 | if not branches: | |
23 | return revs or None, revs and revs[0] or None |
|
23 | return revs or None, revs and revs[0] or None | |
|
24 | revs = revs and list(revs) or [] | |||
|
25 | if not repo.capable('branchmap'): | |||
|
26 | revs.extend(branches) | |||
|
27 | return revs, revs[0] | |||
24 | branchmap = repo.branchmap() |
|
28 | branchmap = repo.branchmap() | |
25 | revs = revs and list(revs) or [] |
|
|||
26 | for branch in branches: |
|
29 | for branch in branches: | |
27 | if branch == '.': |
|
30 | if branch == '.': | |
28 | if not lrepo or not lrepo.local(): |
|
31 | if not lrepo or not lrepo.local(): |
General Comments 0
You need to be logged in to leave comments.
Login now