Closed Bug 1136277 Opened 9 years ago Closed 9 years ago

The try syntax hook is too chatty

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)

On it's own, four lines isn't much. But by the time you include the print_pushlog url hook, the tree closure hook and everything else it gets a bit much.

Current:

[~/src/inbound]$ hg push try -f
...
remote: Looks like you used try syntax, going ahead with the push.
remote: If you don't get what you expected, check http://trychooser.pub.build.mozilla.org/
remote: for help with building your trychooser request.
remote: Thanks for helping save resources, you're the best!
...

Suggested:
[~/src/inbound]$ hg push try -f
...
remote: For help generating Try syntax, see: http://trychooser.pub.build.mozilla.org/
remote: Thanks for helping save resources, you're the best!

Or even no output at all - given that the failure case (ie bad syntax) is probably the better time to link to the trychooser site.
Assignee: nobody → emorley
Comment on attachment 8570917 [details] [diff] [review]
make try_mandatory less chatty when the syntax is correct

Review of attachment 8570917 [details] [diff] [review]:
-----------------------------------------------------------------

I agree that this message is overly verbose.
Attachment #8570917 - Flags: review?(gps) → review+
https://hg.mozilla.org/hgcustom/version-control-tools/rev/6a620280410a
Status: NEW → 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.

Attachment

General

Created:
Updated:
Size: