sapling/eden/scm/edenscm/scmwindows.py
Muir Manders e615b04866 config: use correct system config path when editing
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
2022-10-21 15:17:26 -07:00

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()