mercurial/debugcommands.py
changeset 50952 45a53fc82ab2
parent 50951 1cfc49e342c3
child 50953 0cf89b099d42
equal deleted inserted replaced
50951:1cfc49e342c3 50952:45a53fc82ab2
  1954 def debuginstall(ui, **opts):
  1954 def debuginstall(ui, **opts):
  1955     """test Mercurial installation
  1955     """test Mercurial installation
  1956 
  1956 
  1957     Returns 0 on success.
  1957     Returns 0 on success.
  1958     """
  1958     """
  1959     opts = pycompat.byteskwargs(opts)
       
  1960 
       
  1961     problems = 0
  1959     problems = 0
  1962 
  1960 
  1963     fm = ui.formatter(b'debuginstall', opts)
  1961     fm = ui.formatter(b'debuginstall', pycompat.byteskwargs(opts))
  1964     fm.startitem()
  1962     fm.startitem()
  1965 
  1963 
  1966     # encoding might be unknown or wrong. don't translate these messages.
  1964     # encoding might be unknown or wrong. don't translate these messages.
  1967     fm.write(b'encoding', b"checking encoding (%s)...\n", encoding.encoding)
  1965     fm.write(b'encoding', b"checking encoding (%s)...\n", encoding.encoding)
  1968     err = None
  1966     err = None