mercurial/commands.py
changeset 12584 fb24b491e06a
parent 12582 18c79cef795c
child 12613 f365aed7cc5b
equal deleted inserted replaced
12583:903828be7397 12584:fb24b491e06a
  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