summaryrefslogtreecommitdiff
path: root/zuul/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/model.py')
-rw-r--r--zuul/model.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/zuul/model.py b/zuul/model.py
index ecf5c62fa..1b887df0d 100644
--- a/zuul/model.py
+++ b/zuul/model.py
@@ -3211,6 +3211,9 @@ class Change(Branch):
# in the case of a PR. Either way, it's the place where we
# look for depends-on headers.
self.message = None
+ # This can be the commit id of the patchset enqueued or
+ # in the case of a PR the id of HEAD of the branch.
+ self.commit_id = None
def _id(self):
return '%s,%s' % (self.number, self.patchset)