commit | 59964f08f98be70d466c9b61a00c7cca640f4a52 | [log] [tgz] |
---|---|---|
author | natalie.chen <natalie.chen@mediatek.com> | Fri Dec 19 20:06:47 2014 +0800 |
committer | natalie.chen <natalie.chen@mediatek.com> | Wed Jan 14 14:09:15 2015 +0800 |
tree | 845f71a6cf3cb9db0030ef50571c10174060a6f6 | |
parent | a9b2baeabdbf879e560e6d99bc7107be0da054b9 [diff] [blame] |
temp workaround for fetch refs/builds/*
diff --git a/git_config.py b/git_config.py index 32879ec..6ab286e 100644 --- a/git_config.py +++ b/git_config.py
@@ -634,6 +634,9 @@ if not rev.startswith('refs/'): rev = R_HEADS + rev + # ugly workaround + if rev.startswith('refs/builds/'): + return RefSpec(True, 'refs/builds/*', 'refs/builds/*').MapSource(rev) for spec in self.fetch: if spec.SourceMatches(rev):