##// END OF EJS Templates
fetch: use `get_unique_pull_path` to retrieve the path...
marmoute -
r47701:b133154f default
parent child Browse files
Show More
@@ -109,11 +109,9 b" def fetch(ui, repo, source=b'default', *"
109 )
109 )
110 )
110 )
111
111
112 other = hg.peer(repo, opts, ui.expandpath(source))
112 path = urlutil.get_unique_pull_path(b'fetch', repo, ui, source)[0]
113 ui.status(
113 other = hg.peer(repo, opts, path)
114 _(b'pulling from %s\n')
114 ui.status(_(b'pulling from %s\n') % urlutil.hidepassword(path))
115 % urlutil.hidepassword(ui.expandpath(source))
116 )
117 revs = None
115 revs = None
118 if opts[b'rev']:
116 if opts[b'rev']:
119 try:
117 try:
General Comments 0
You need to be logged in to leave comments. Login now