Create a flat list of commits to do from the tree

Walk the node tree and record the parents, then reverse the tree so we
can have the exact order in which to create git commits
This commit is contained in:
Stephan Kulow
2022-10-31 08:50:05 +01:00
parent 8a3db6c183
commit bfdade8ecf
5 changed files with 334 additions and 265 deletions

View File

@@ -25,7 +25,7 @@ class DBRevision:
self._files = None
def short_string(self):
return f"Rev {self.project}/{self.package}/{self.rev}"
return f"{self.project}/{self.package}/{self.rev}"
def __str__(self):
return f"Rev {self.project}/{self.package}/{self.rev} Md5 {self.unexpanded_srcmd5} {self.commit_time} {self.userid} {self.request_number}"