##// END OF EJS Templates
path: pass `path` to `peer` in narrow...
marmoute -
r50627:0058c74d default
parent child Browse files
Show More
@@ -606,10 +606,9 b' def trackedcmd(ui, repo, remotepath=None'
606 # Find the revisions we have in common with the remote. These will
606 # Find the revisions we have in common with the remote. These will
607 # be used for finding local-only changes for narrowing. They will
607 # be used for finding local-only changes for narrowing. They will
608 # also define the set of revisions to update for widening.
608 # also define the set of revisions to update for widening.
609 r = urlutil.get_unique_pull_path(b'tracked', repo, ui, remotepath)
609 path = urlutil.get_unique_pull_path_obj(b'tracked', ui, remotepath)
610 url, branches = r
610 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(path.loc))
611 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
611 remote = hg.peer(repo, opts, path)
612 remote = hg.peer(repo, opts, url)
613
612
614 try:
613 try:
615 # check narrow support before doing anything if widening needs to be
614 # check narrow support before doing anything if widening needs to be
General Comments 0
You need to be logged in to leave comments. Login now