mercurial/debugcommands.py
changeset 44145 0b475b0b0344
parent 44123 52f8b07ad2f9
child 44290 d8b53385b1bc
equal deleted inserted replaced
44144:bd0de73cf810 44145:0b475b0b0344
    11 import collections
    11 import collections
    12 import difflib
    12 import difflib
    13 import errno
    13 import errno
    14 import operator
    14 import operator
    15 import os
    15 import os
       
    16 import platform
    16 import random
    17 import random
    17 import re
    18 import re
    18 import socket
    19 import socket
    19 import ssl
    20 import ssl
    20 import stat
    21 import stat
  1485         b'pythonexe',
  1486         b'pythonexe',
  1486         _(b"checking Python executable (%s)\n"),
  1487         _(b"checking Python executable (%s)\n"),
  1487         pycompat.sysexecutable or _(b"unknown"),
  1488         pycompat.sysexecutable or _(b"unknown"),
  1488     )
  1489     )
  1489     fm.write(
  1490     fm.write(
       
  1491         b'pythonimplementation',
       
  1492         _(b"checking Python implementation (%s)\n"),
       
  1493         pycompat.sysbytes(platform.python_implementation()),
       
  1494     )
       
  1495     fm.write(
  1490         b'pythonver',
  1496         b'pythonver',
  1491         _(b"checking Python version (%s)\n"),
  1497         _(b"checking Python version (%s)\n"),
  1492         (b"%d.%d.%d" % sys.version_info[:3]),
  1498         (b"%d.%d.%d" % sys.version_info[:3]),
  1493     )
  1499     )
  1494     fm.write(
  1500     fm.write(