Closed Bug 1175584 Opened 9 years ago Closed 9 years ago

Backout not being parsed from b4060e527bd2

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Unassigned)

Details

Attachments

(1 file)

https://hg.mozilla.org/integration/mozilla-inbound/rev/b4060e527bd2 backs out https://hg.mozilla.org/integration/mozilla-inbound/rev/b8601df335c1. For whatever reason, the parser isn't picking up the backout syntax from b4060e527bd2. That likely explains why b8601df335c1 isn't listing a backout.
mozautomation: detect "backout XXX" syntax (bug 1175584); r?smacleod

We weren't detecting the "backout <changeset>" syntax in commit messages
as backouts of single commits. This syntax is not the official syntax
used by the backout extension. But it occurs enough that it is worth
parsing for.
Attachment #8623764 - Flags: review?(smacleod)
As long as you're in the file... maybe "back out" as well?
Comment on attachment 8623764 [details]
MozReview Request: mozautomation: detect "backout XXX" syntax (bug 1175584); r?smacleod

mozautomation: detect "backout XXX" syntax (bug 1175584); r?smacleod

We weren't detecting the "backout <changeset>" syntax in commit messages
as backouts of single commits. This syntax is not the official syntax
used by the backout extension. But it occurs enough that it is worth
parsing for.
Attachment #8623764 - Flags: review?(smacleod) → review+
Comment on attachment 8623764 [details]
MozReview Request: mozautomation: detect "backout XXX" syntax (bug 1175584); r?smacleod

https://reviewboard.mozilla.org/r/11587/#review10017

LGTM

::: pylib/mozautomation/mozautomation/commitparser.py:36
(Diff revision 2)
> +BACKOUT_RE = re.compile('^back\s?out (?P<node>[0-9a-f]{12}) ', re.I)

Maybe we should get "Backs out ..." as well?
https://reviewboard.mozilla.org/r/11587/#review10019

> Maybe we should get "Backs out ..." as well?

``hg log -k 'backs out'`` says this syntax isn't used. So not worth it.
This is deployed. https://hg.mozilla.org/integration/mozilla-inbound/rev/b8601df335c1 now displays 
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: