Ignore merge point candidates that create crosses

In OBS you can create submit requests for revisions that are behind
the last merge point, in git you can't - so we ignore them.

Fixes #14
This commit is contained in:
Stephan Kulow
2022-11-03 15:03:41 +01:00
parent ef7755c771
commit f2019db8ff
6 changed files with 20 additions and 11 deletions

View File

@@ -31,6 +31,7 @@ class DBRevision:
self.rev = float(self.rev)
self._files = None
self.db = db
self.git_commit = None
def short_string(self):
return f"{self.project}/{self.package}/{self.rev}"