ReleaseEngineering/TryServer: Difference between revisions

Jump to navigation Jump to search
Line 60: Line 60:
Now you should be able to perform hg push -f <whatever> without it affecting the phase.
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:
These extra steps should no longer be necessary once the server is upgraded to Mercurial 2.1 and configured as "non-publishing" ({{bug|725362}}).
 
==== If you use an alias (e.g. "hg try" instead of "hg push -f ssh://hg.mozilla.org/try") ====
If you use an alias (e.g. you use <tt>hg try</tt> to push to try), 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 <tt>hg try</tt>, as
<pre>
<pre>
   [alias]
   [alias]
Line 71: Line 76:
post-try = hg phase --force --draft "mq()"
post-try = hg phase --force --draft "mq()"
</pre>
</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}}).


=== Viewing the results ===
=== Viewing the results ===
187

edits

Navigation menu