From 59414d47c0fe16b9b6eb8cf765038db9032410c9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 19 Sep 2009 17:58:09 -0400 Subject: Include stdout in CommandError. --- libbe/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe/git.py') 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] -- cgit