Mercurial > piecrust2
diff foodtruck/scm/base.py @ 587:d4a01a023998
admin: Add "FoodTruck" admin panel from the side experiment project.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 16 Jan 2016 14:24:35 -0800 |
parents | |
children | 3cec8634209a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/foodtruck/scm/base.py Sat Jan 16 14:24:35 2016 -0800 @@ -0,0 +1,18 @@ + + +class RepoStatus(object): + def __init__(self): + self.new_files = [] + self.edited_files = [] + + +class SourceControl(object): + def __init__(self, root_dir): + self.root_dir = root_dir + + def getStatus(self): + raise NotImplementedError() + + def commit(self, paths, author, message): + raise NotImplementedError() +