Beispiel #1
0
 def test_empty(self):
     porcelain.repack(self.repo)
Beispiel #2
0
 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)
Beispiel #3
0
 def run(self, args):
     opts, args = getopt(args, "", [])
     opts = dict(opts)
     porcelain.repack('.')