Package: jhbuild Version: 0.0.svn.r1378-1 Severity: normal Tags: patch Hi!
When using the “jhbuild info” command on a git repo, it produces a python backtrace. The problem is that it tries to execute git-rev-parse, but that does not exist anymore. Attached patch fixes it. regards, guillem
diff --git a/jhbuild/versioncontrol/git.py b/jhbuild/versioncontrol/git.py index 11f5980..3b06456 100644 --- a/jhbuild/versioncontrol/git.py +++ b/jhbuild/versioncontrol/git.py @@ -118,7 +118,7 @@ class GitBranch(Branch): def tree_id(self): if not os.path.exists(self.get_checkoutdir()): return None - output = get_output(['git-rev-parse', 'master'], + output = get_output(['git', 'rev-parse', 'master'], cwd=self.get_checkoutdir()) return output.strip()