Changes

Jump to: navigation, search

ReleaseEngineering/TryServer

407 bytes added, 20:18, 9 February 2012
Disable hg phases with a post-push hook
Now you should be able to perform hg push -f <whatever> without it affecting the phase.
 
Note that if you use an alias, this won't work - you need to actually specify the post-command that you want it to perform after. For example, if you alias your push command to 'try', as in the following:
<pre>
[alias]
try = push -f ssh://hg.mozilla.org/try
</pre>
 
Then you need to use the following instead of the above post-push hook:
<pre>
[hooks]
post-try = hg phase --force --draft "mq()"
</pre>
These extra steps should no longer be necessary once the server is upgraded to Mercurial 2.1 and configured as "non-publishing" ({{bug|725362}}).
Confirm
206
edits

Navigation menu