Show More
@@ -1041,11 +1041,12 b' def findoutgoing(ui, repo, remote=None, ' | |||||
1041 | Used by initialization code""" |
|
1041 | Used by initialization code""" | |
1042 | if opts is None: |
|
1042 | if opts is None: | |
1043 | opts = {} |
|
1043 | opts = {} | |
1044 | dest = ui.expandpath(remote or b'default-push', remote or b'default') |
|
1044 | path = urlutil.get_unique_push_path(b'histedit', repo, ui, remote) | |
1045 | dest, branches = urlutil.parseurl(dest, None)[:2] |
|
1045 | dest = path.pushloc or path.loc | |
|
1046 | ||||
1046 | ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest)) |
|
1047 | ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest)) | |
1047 |
|
1048 | |||
1048 |
revs, checkout = hg.addbranchrevs(repo, repo, branch |
|
1049 | revs, checkout = hg.addbranchrevs(repo, repo, (path.branch, []), None) | |
1049 | other = hg.peer(repo, opts, dest) |
|
1050 | other = hg.peer(repo, opts, dest) | |
1050 |
|
1051 | |||
1051 | if revs: |
|
1052 | if revs: |
General Comments 0
You need to be logged in to leave comments.
Login now