From 78aa229e0cdc8b851c21d157f2ac11edc2ad9463 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Wed, 24 Sep 2008 00:13:18 -0700 Subject: [PATCH] checkout: show stderr in case of errors Reported-by: Barry Roberts Signed-off-by: David Aguilar --- cola/controllers/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cola/controllers/__init__.py b/cola/controllers/__init__.py index c2a00de8..b9c8b94c 100644 --- a/cola/controllers/__init__.py +++ b/cola/controllers/__init__.py @@ -321,7 +321,9 @@ class Controller(QObserver): self.model.get_local_branches()) if not branch: return - self.log(self.model.git.checkout(branch)) + status, out, err = self.model.git.checkout(branch, + with_extended_output=True) + self.log(out+err) def browse_commits(self): self.select_commits_gui('Browse Commits', -- 2.11.4.GIT