aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/git.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-09-19 17:58:09 -0400
committerW. Trevor King <wking@drexel.edu>2009-09-19 17:58:09 -0400
commit59414d47c0fe16b9b6eb8cf765038db9032410c9 (patch)
treebd6402053630faaf880a88d4d667d8249ccc0db5 /libbe/git.py
parent1ce20e765cde8a90f0c71e0072121826bd8b0346 (diff)
downloadbugseverywhere-59414d47c0fe16b9b6eb8cf765038db9032410c9.tar.gz
Include stdout in CommandError.
Diffstat (limited to 'libbe/git.py')
-rw-r--r--libbe/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/git.py b/libbe/git.py
index 137cb35..3abe3b8 100644
--- a/libbe/git.py
+++ b/libbe/git.py
@@ -134,7 +134,7 @@ class Git(vcs.VCS):
if status == 128:
if error.startswith("fatal: ambiguous argument 'HEAD': unknown "):
return None
- raise vcs.CommandError(args, status, error)
+ raise vcs.CommandError(args, status, stdout="", stderr=error)
commits = output.splitlines()
try:
return commits[index]