mercurial/scmposix.py
changeset 52645 4cb75772818d
parent 52640 24ee91ba9aa8
equal deleted inserted replaced
52644:e627cc25b6f3 52645:4cb75772818d
    71             os.path.expanduser(b'~/.hgrc'),
    71             os.path.expanduser(b'~/.hgrc'),
    72             os.path.join(confighome, b'hg', b'hgrc'),
    72             os.path.join(confighome, b'hg', b'hgrc'),
    73         ]
    73         ]
    74 
    74 
    75 
    75 
    76 def termsize(ui: "uimod.ui") -> Tuple[int, int]:
    76 def termsize(ui: uimod.ui) -> Tuple[int, int]:
    77     try:
    77     try:
    78         import termios
    78         import termios
    79 
    79 
    80         TIOCGWINSZ = termios.TIOCGWINSZ  # unavailable on IRIX (issue3449)
    80         TIOCGWINSZ = termios.TIOCGWINSZ  # unavailable on IRIX (issue3449)
    81     except (AttributeError, ImportError):
    81     except (AttributeError, ImportError):