def test_empty(self): porcelain.repack(self.repo)
def test_simple(self): handle, fullpath = tempfile.mkstemp(dir=self.repo.path) os.close(handle) filename = os.path.basename(fullpath) porcelain.add(repo=self.repo.path, paths=filename) porcelain.repack(self.repo)
def run(self, args): opts, args = getopt(args, "", []) opts = dict(opts) porcelain.repack('.')