Updating branch refs/heads/master to 6cbc03b90d4e65823aaef9bbb03ab48ae9fe7f8f (commit) from 3165cfb9fde546f1db930f3ac702d2bdec173185 (commit)
commit 6cbc03b90d4e65823aaef9bbb03ab48ae9fe7f8f Author: Jannis Pohlmann <jan...@xfce.org> Date: Wed Sep 16 19:34:05 2009 +0200 Prepend REPO environment variable to all files passed to buildbot. hooks/git_buildbot.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hooks/git_buildbot.py b/hooks/git_buildbot.py index 5da979c..b7eee42 100755 --- a/hooks/git_buildbot.py +++ b/hooks/git_buildbot.py @@ -86,6 +86,7 @@ def grab_commit_info(c, rev): f = os.popen("git show --raw --pretty=full %s" % rev, 'r') files = [] + repository = os.environ['REPO'] while True: line = f.readline() @@ -94,8 +95,8 @@ def grab_commit_info(c, rev): m = re.match(r"^:.*[MAD]\s+(.+)$", line) if m: - logging.debug("Got file: %s" % m.group(1)) - files.append(m.group(1)) + logging.debug("Got file: %s" % repository + "/" + m.group(1)) + files.append(repository + "/" + m.group(1)) continue m = re.match(r"^Author:\s+(.+)$", line) _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits