equal
deleted
inserted
replaced
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 |