Changes

Jump to: navigation, search

ReleaseEngineering/TryServer

301 bytes removed, 19:16, 9 February 2012
Disable hg phases with an extension
<pre>hg phase -f --draft qparent:tip</pre>
==== Disable hg phases with an extension outgoing hook ====
Alternatively, you can avoid this rigamarole by disabling hg phases with an extensionoutgoing hook. Create a Add the following to your personal .hgrc file (e.g. /etc/mercurial/extensions~/nophases.pyhgrc) containing:
<pre>
from mercurial import phases def extsetup(ui): def donothing(*args, **opts): pass  phases.advanceboundary = donothing phases.visibleheads outgoing = lambda repo: repo.heads()</pre> Now, edit your user .hgrc file so that it loads this extension hg phase --force --draft "mq(~/.hgrc):<pre>[extensions] nophases = /etc/mercurial/extensions/nophases.py"
</pre>
Confirm
206
edits

Navigation menu