diff options
author | W. Trevor King <wking@drexel.edu> | 2009-09-19 17:58:09 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-09-19 17:58:09 -0400 |
commit | 59414d47c0fe16b9b6eb8cf765038db9032410c9 (patch) | |
tree | bd6402053630faaf880a88d4d667d8249ccc0db5 /libbe/git.py | |
parent | 1ce20e765cde8a90f0c71e0072121826bd8b0346 (diff) | |
download | bugseverywhere-59414d47c0fe16b9b6eb8cf765038db9032410c9.tar.gz |
Include stdout in CommandError.
Diffstat (limited to 'libbe/git.py')
-rw-r--r-- | libbe/git.py | 2 |
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] |