# HG changeset patch # User Ludovic Chabant # Date 1453660896 28800 # Node ID c37307a72f79190d2dd78baa00352331385645b5 # Parent d7baac1d01e6229e1d0b90309641f36f23c71ba7 admin: Fix constructor for Mercurial SCM. diff -r d7baac1d01e6 -r c37307a72f79 foodtruck/scm/mercurial.py --- a/foodtruck/scm/mercurial.py Sun Jan 24 10:40:55 2016 -0800 +++ b/foodtruck/scm/mercurial.py Sun Jan 24 10:41:36 2016 -0800 @@ -17,9 +17,9 @@ class MercurialSourceControl(SourceControl): - def __init__(self, root_dir): - super(MercurialSourceControl, self).__init__(root_dir) - self.hg = 'hg' + def __init__(self, root_dir, cfg): + super(MercurialSourceControl, self).__init__(root_dir, cfg) + self.hg = cfg.get('exe', 'hg') def getStatus(self): res = RepoStatus()