equal
deleted
inserted
replaced
1040 |
1040 |
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 dest = ui.expandpath(remote or b'default-push', remote or b'default') |
1045 dest, branches = hg.parseurl(dest, None)[:2] |
1045 dest, branches = urlutil.parseurl(dest, None)[:2] |
1046 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest)) |
1046 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest)) |
1047 |
1047 |
1048 revs, checkout = hg.addbranchrevs(repo, repo, branches, None) |
1048 revs, checkout = hg.addbranchrevs(repo, repo, branches, None) |
1049 other = hg.peer(repo, opts, dest) |
1049 other = hg.peer(repo, opts, dest) |
1050 |
1050 |