Closed Bug 837303 Opened 12 years ago Closed 9 years ago

Warn if -p none detected.

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfink, Assigned: sfink)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/856] )

Attachments

(1 file)

This may not be necessary after bug 836980, but there are many ways to generate try pushes, so it might be worth having this as a backstop.
Attached patch Detect -p none (deleted) — Splinter Review
And it has nothing to do with me wanting to land something with a try try again pun.

We could also make these pushes fail. Personally, I do quite a few pushes with things like |-p quantum_interference_patterns_of_supercooled_fluorine| (usually because I need pushes for testing releng changes), which has the same effect as -p none.
Attachment #709258 - Flags: review?(emorley)
Comment on attachment 709258 [details] [diff] [review]
Detect -p none

Sorry for the delay, dealing with the backlog after not one but two SSD failures (yey \o/).

Looks good - only change I would make is for this to fail the push (since as you say for testing, you can just enter junk instead of 'none'), otherwise my bet is on someone filing another bug in a few months time with "I pushed to try and ignored the response, and thought it would be successful since return code 0".
Attachment #709258 - Flags: review?(emorley) → review+
Attachment #709258 - Flags: checked-in+
Pushed with the suggested change (making it fail instead of just warn)

http://hg.mozilla.org/hgcustom/hghooks/rev/3b0c66182bb0
Don't forget to file the dependent IT bug to have that actually deployed.
Status: NEW → ASSIGNED
Component: Release Engineering → Release Engineering: Developer Tools
Keywords: trychooser
QA Contact: hwine
(This is an hg hook customisation; the trychooser counterpart landed in bug 836980. Will still need deploying in production.)
Component: Release Engineering: Developer Tools → Hg: Customizations
Flags: checked-in+
Keywords: trychooser
QA Contact: hwine
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/138]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/138] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/856] [kanban:engops:https://kanbanize.com/ctrl_board/6/138]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/856] [kanban:engops:https://kanbanize.com/ctrl_board/6/138] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/856]
This appears to have been fixed years ago but nobody closed the bug.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
QA Contact: hwine
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: