Skip to content

Commit 32a337d

Browse files
authored
Store the actual Mercurial revision that was used as a base (#100)
1 parent 16b4d77 commit 32a337d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libmozevent/mercurial.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ def apply_build(self, build):
160160
)
161161
hg_base = self.default_revision
162162

163+
# Store the actual base revision we used
164+
self.actual_base_revision = hg_base
165+
163166
# Update the repo to base revision
164167
try:
165168
logger.info("Updating repo to revision {}".format(hg_base))

libmozevent/phabricator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def __init__(self, request):
4848
self.stack = []
4949
self.base_revision = None
5050
self.missing_base_revision = False
51+
self.actual_base_revision = None
5152

5253
def __str__(self):
5354
return "Revision {} - {}".format(self.revision_id, self.target_phid)

0 commit comments

Comments
 (0)