summaryrefslogtreecommitdiff
path: root/cerbero
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-03 12:38:48 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-03 12:38:48 +0200
commitbe6e6c9df1172e6567e147726c1499c341c94fa5 (patch)
tree60efdb4d85854707968b1271fdf14418dec3b193 /cerbero
parent85524815afd9d73b9481a8676379e313b0c0acad (diff)
svn: add support for revision overrides in the config
Diffstat (limited to 'cerbero')
-rw-r--r--cerbero/build/source.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cerbero/build/source.py b/cerbero/build/source.py
index ee090cc..a51d61a 100644
--- a/cerbero/build/source.py
+++ b/cerbero/build/source.py
@@ -283,6 +283,8 @@ class Svn(Source):
def __init__(self):
Source.__init__(self)
+ # For forced revision in the config
+ self.revision = self.config.recipe_commit(self.name) or self.revision
def fetch(self):
if os.path.exists(self.repo_dir):