Show More
@@ -1278,7 +1278,7 b' def debugdiscovery(ui, repo, remoteurl=b' | |||||
1278 | if opts.get(b'old'): |
|
1278 | if opts.get(b'old'): | |
1279 |
|
1279 | |||
1280 | def doit(pushedrevs, remoteheads, remote=remote): |
|
1280 | def doit(pushedrevs, remoteheads, remote=remote): | |
1281 |
if not util.safehasattr(remote, |
|
1281 | if not util.safehasattr(remote, 'branches'): | |
1282 | # enable in-client legacy support |
|
1282 | # enable in-client legacy support | |
1283 | remote = localrepo.locallegacypeer(remote.local()) |
|
1283 | remote = localrepo.locallegacypeer(remote.local()) | |
1284 | if remote_revs: |
|
1284 | if remote_revs: |
General Comments 0
You need to be logged in to leave comments.
Login now