Show More
@@ -717,6 +717,11 b' def clone(' | |||
|
717 | 717 | branches = (src_path.branch, branch or []) |
|
718 | 718 | source = src_path.loc |
|
719 | 719 | else: |
|
720 | if util.safehasattr(source, 'peer'): | |
|
721 | srcpeer = source.peer() # in case we were called with a localrepo | |
|
722 | else: | |
|
723 | srcpeer = source | |
|
724 | branches = (None, branch or []) | |
|
720 | 725 | # XXX path: simply use the peer `path` object when this become available |
|
721 | 726 | srcpeer = source.peer() # in case we were called with a localrepo |
|
722 | 727 | branches = (None, branch or []) |
General Comments 0
You need to be logged in to leave comments.
Login now