view 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 source



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()