Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: scm.py

Issue 7860041: Update subprocess2.check_output() to behave like subprocess.check_output(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: update comment and docstring, they were unclear Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « presubmit_canned_checks.py ('k') | subprocess2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scm.py
diff --git a/scm.py b/scm.py
index 80e5fc4a592ce57bbec6aa2c91e334990734c2d1..446c94add8381b971932c7327c959f0c222f01d1 100644
--- a/scm.py
+++ b/scm.py
@@ -79,6 +79,7 @@ def determine_scm(root):
subprocess2.check_output(
['git', 'rev-parse', '--show-cdup'],
stdout=subprocess2.VOID,
+ stderr=subprocess2.VOID,
cwd=root)
return 'git'
except (OSError, subprocess2.CalledProcessError):
« no previous file with comments | « presubmit_canned_checks.py ('k') | subprocess2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698