equal
deleted
inserted
replaced
4421 See :hg:`help urls` for more information. |
4421 See :hg:`help urls` for more information. |
4422 |
4422 |
4423 Returns 0 on success. |
4423 Returns 0 on success. |
4424 """ |
4424 """ |
4425 opts = pycompat.byteskwargs(opts) |
4425 opts = pycompat.byteskwargs(opts) |
4426 path = urlutil.get_clone_path(ui, dest)[1] |
4426 path = urlutil.get_clone_path_obj(ui, dest) |
4427 peer = hg.peer(ui, opts, path, create=True) |
4427 peer = hg.peer(ui, opts, path, create=True) |
4428 peer.close() |
4428 peer.close() |
4429 |
4429 |
4430 |
4430 |
4431 @command( |
4431 @command( |