##// END OF EJS Templates
narrow: use `get_unique_pull_path`...
marmoute -
r47699:8e691142 default
parent child Browse files
Show More
@@ -593,8 +593,8 b' def trackedcmd(ui, repo, remotepath=None'
593 # Find the revisions we have in common with the remote. These will
593 # Find the revisions we have in common with the remote. These will
594 # be used for finding local-only changes for narrowing. They will
594 # be used for finding local-only changes for narrowing. They will
595 # also define the set of revisions to update for widening.
595 # also define the set of revisions to update for widening.
596 remotepath = ui.expandpath(remotepath or b'default')
596 r = urlutil.get_unique_pull_path(b'tracked', repo, ui, remotepath)
597 url, branches = urlutil.parseurl(remotepath)
597 url, branches = r
598 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
598 ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
599 remote = hg.peer(repo, opts, url)
599 remote = hg.peer(repo, opts, url)
600
600
General Comments 0
You need to be logged in to leave comments. Login now