Closed Bug 1136272 Opened 9 years ago Closed 9 years ago

The treeclosure hook reason should be clearer in the message

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Current example output:

[~/src/inbound]$ hg push try -f
pushing to ssh://hg.mozilla.org/try/
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 17 changesets with 34 changes to 65 files (+1 heads)
remote: Tree try is CLOSED! (https://treestatus.mozilla.org/try?format=json) - Bug 1136195 - Frequent timeouts
remote:
remote:
remote: ************************** ERROR ****************************
remote: To push despite the closed tree, include "CLOSED TREE" in your push comment
remote: *************************************************************
remote:
remote:
remote: transaction abort!
remote: rollback completed
remote: abort: pretxnchangegroup.a_treeclosure hook failed

Suggestion:
[~/src/inbound]$ hg push try -f
pushing to ssh://hg.mozilla.org/try/
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 17 changesets with 34 changes to 65 files (+1 heads)
remote:
remote:
remote: ************************** ERROR ****************************
remote: Tree try is CLOSED! (https://treestatus.mozilla.org/try?format=json) - Bug 1136195 - Frequent timeouts
remote: To push despite the closed tree, include "CLOSED TREE" in your push comment
remote: *************************************************************
remote:
remote:
remote: transaction abort!
remote: rollback completed
remote: abort: pretxnchangegroup.a_treeclosure hook failed
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Attachment #8570937 - Flags: review?(gps) → review+
https://hg.mozilla.org/hgcustom/version-control-tools/rev/5f2c90efe62a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 1138856
You need to log in before you can comment on or make changes to this bug.