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