##// END OF EJS Templates
init: use `get_clone_path` when suitable...
marmoute -
r47714:82366464 default
parent child Browse files
Show More
@@ -4376,7 +4376,8 b' def init(ui, dest=b".", **opts):'
4376 Returns 0 on success.
4376 Returns 0 on success.
4377 """
4377 """
4378 opts = pycompat.byteskwargs(opts)
4378 opts = pycompat.byteskwargs(opts)
4379 peer = hg.peer(ui, opts, ui.expandpath(dest), create=True)
4379 path = urlutil.get_clone_path(ui, dest)[1]
4380 peer = hg.peer(ui, opts, path, create=True)
4380 peer.close()
4381 peer.close()
4381
4382
4382
4383
General Comments 0
You need to be logged in to leave comments. Login now