mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
make call_hg_command() use the correct environment
This commit is contained in:
parent
6d0623763c
commit
c47cf4f3d5
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ Current Developments
|
|||
**Fixed:**
|
||||
|
||||
* Fixed path completion not working for absolute paths or for expanded paths on Windows.
|
||||
* Fixed issue with hg dirty branches and $PATH.
|
||||
|
||||
**Security:** None
|
||||
|
||||
|
|
|
@ -790,7 +790,7 @@ def get_git_branch(cwd=None):
|
|||
|
||||
def call_hg_command(command, cwd):
|
||||
# Override user configurations settings and aliases
|
||||
hg_env = os.environ.copy()
|
||||
hg_env = builtins.__xonsh_env__.detype()
|
||||
hg_env['HGRCPATH'] = ""
|
||||
|
||||
s = None
|
||||
|
|
Loading…
Add table
Reference in a new issue