##// END OF EJS Templates
path: pass `path` to `peer` in `hg histedit`...
marmoute -
r50607:905eb32f default
parent child Browse files
Show More
@@ -1051,12 +1051,11 b' def findoutgoing(ui, repo, remote=None, '
1051 if opts is None:
1051 if opts is None:
1052 opts = {}
1052 opts = {}
1053 path = urlutil.get_unique_push_path(b'histedit', repo, ui, remote)
1053 path = urlutil.get_unique_push_path(b'histedit', repo, ui, remote)
1054 dest = path.loc
1054
1055
1055 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(path.loc))
1056 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))
1057
1056
1058 revs, checkout = hg.addbranchrevs(repo, repo, (path.branch, []), None)
1057 revs, checkout = hg.addbranchrevs(repo, repo, (path.branch, []), None)
1059 other = hg.peer(repo, opts, dest)
1058 other = hg.peer(repo, opts, path)
1060
1059
1061 if revs:
1060 if revs:
1062 revs = [repo.lookup(rev) for rev in revs]
1061 revs = [repo.lookup(rev) for rev in revs]
General Comments 0
You need to be logged in to leave comments. Login now