mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
e615b04866
Summary: Get system config path from Rust rather than the legacy logic that had become completely disconnected from where we actually load configs from. Reviewed By: bolinfest Differential Revision: D40492820 fbshipit-source-id: 6ab6fc2b8243fa92dbd55b638f85f5fcbf6f27bd
20 lines
476 B
Python
20 lines
476 B
Python
# Portions Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
# Copyright 2013 Mercurial Contributors
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2 or any later version.
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import os
|
|
|
|
from . import win32
|
|
|
|
|
|
def termsize(ui):
|
|
return win32.termsize()
|