diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1443,6 +1443,8 @@ class Project(object): | |||
1443 | rather than the id of the current git object (for example, a tag) | 1443 | rather than the id of the current git object (for example, a tag) |
1444 | 1444 | ||
1445 | """ | 1445 | """ |
1446 | if self.revisionId: | ||
1447 | return self.revisionId | ||
1446 | if not self.revisionExpr.startswith(R_TAGS): | 1448 | if not self.revisionExpr.startswith(R_TAGS): |
1447 | return self.GetRevisionId(self._allrefs) | 1449 | return self.GetRevisionId(self._allrefs) |
1448 | 1450 | ||