matcher = match.match(self.repo.root, self.repo.root, files_to_commit, default='path')
rev = self.repo.commit(message, user=user, match=matcher)
commited = True
matcher = match.match(self.repo.root, self.repo.root, files_to_commit, default='path')
rev = self.repo.commit(message, user=user, match=matcher)
commited = True