Thanks to Ben Hearsum and Ted Mielczarek, the Try server has a cool new feature: you can now try out some changes without manually creating and uploading a patch. Just hg commit or hg qrefresh your work, and then
hg push -f ssh://hg.mozilla.org/try/
The Try server will kick off Linux, Windows, and Mac builds with all your latest changes. Specifically, it’ll build your hg tip revision.
Details:
-
If you’re using Mercurial Queues, this
pushcommand pushes any patches that are currently applied, and the Try server will build the result. (This is an awesome feature, not a bug!) -
If you’ve ever pushed anything to mozilla-central, you already have the right permissions to do this. If not, see the Mercurial FAQ for more information about pushing.
-
The Try server wiki page has more information about the Try server, including where to find the finished builds.
-
You don’t need to clone or pull from the try repo, and you probably don’t want to. You’d get every half-baked changeset anybody ever tested.
-
You can abbreviate the push command even further. If you add these lines to your $HOME/.hgrc file:
[paths] try = ssh://hg.mozilla.org/try/
then the command becomes
hg push -f try. Or you could use a script or an alias.
