mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
supress stderr output of hg add
This commit is contained in:
parent
d3327aa3c9
commit
51d9ee5879
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class VCS:
|
||||||
"""Invoke subcommand and return output."""
|
"""Invoke subcommand and return output."""
|
||||||
cmd_str = self.subcommands[cmd_name]
|
cmd_str = self.subcommands[cmd_name]
|
||||||
cmd_parts = cmd_str.format(**kwargs).split()
|
cmd_parts = cmd_str.format(**kwargs).split()
|
||||||
output_data = sp.check_output(cmd_parts, env=env)
|
output_data = sp.check_output(cmd_parts, env=env, stderr=sp.STDOUT)
|
||||||
|
|
||||||
# TODO (mb 2018-11-15): Detect encoding of output?
|
# TODO (mb 2018-11-15): Detect encoding of output?
|
||||||
_encoding = "utf-8"
|
_encoding = "utf-8"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue