mercurial/commands.py
changeset 50866 55a9ea786291
parent 50865 b4425b5bd80e
child 50867 7ef29f8b723d
equal deleted inserted replaced
50865:b4425b5bd80e 50866:55a9ea786291
  5194       :url:     String. URL or directory path for the other operations.
  5194       :url:     String. URL or directory path for the other operations.
  5195 
  5195 
  5196     Returns 0 on success.
  5196     Returns 0 on success.
  5197     """
  5197     """
  5198 
  5198 
  5199     opts = pycompat.byteskwargs(opts)
       
  5200 
       
  5201     pathitems = urlutil.list_paths(ui, search)
  5199     pathitems = urlutil.list_paths(ui, search)
  5202     ui.pager(b'paths')
  5200     ui.pager(b'paths')
  5203 
  5201 
  5204     fm = ui.formatter(b'paths', opts)
  5202     fm = ui.formatter(b'paths', pycompat.byteskwargs(opts))
  5205     if fm.isplain():
  5203     if fm.isplain():
  5206         hidepassword = urlutil.hidepassword
  5204         hidepassword = urlutil.hidepassword
  5207     else:
  5205     else:
  5208         hidepassword = bytes
  5206         hidepassword = bytes
  5209     if ui.quiet:
  5207     if ui.quiet: