trychooser provides a menu to select job choices and creates a TryChooser syntax. It is structured as an hg extension, but it should also work as a command-line program.
To install, add this line to your .hgrc:
[extensions] trychooser = path/to/trychooser/
To push to tryserver after filling out the menu, type:
$ hg trychooser
If no curses-capable terminal is detected, trychooser will fall back to "questionnaire" mode, where it will ask a series of text questions. Force this mode with:
$ hg trychooser -Q
To just write the try syntax string from the command line:
$ ./trychooser or $ hg trychooser -n
See also the TryChooser page on the Mozilla wiki.
Bugs and patches via BitBucket issue tracker