equal
deleted
inserted
replaced
2376 It is possible to specify an ``ssh://`` URL as the destination. |
2376 It is possible to specify an ``ssh://`` URL as the destination. |
2377 See :hg:`help urls` for more information. |
2377 See :hg:`help urls` for more information. |
2378 |
2378 |
2379 Returns 0 on success. |
2379 Returns 0 on success. |
2380 """ |
2380 """ |
2381 hg.repository(hg.remoteui(ui, opts), dest, create=1) |
2381 hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=1) |
2382 |
2382 |
2383 def locate(ui, repo, *pats, **opts): |
2383 def locate(ui, repo, *pats, **opts): |
2384 """locate files matching specific patterns |
2384 """locate files matching specific patterns |
2385 |
2385 |
2386 Print files under Mercurial control in the working directory whose |
2386 Print files under Mercurial control in the working directory whose |