ReleaseEngineering/TryServer: Difference between revisions

Jump to navigation Jump to search
Line 40: Line 40:


=== hg phases ===
=== hg phases ===
<p>[http://mercurial.selenic.com/wiki/Phases hg phases] were introduced in Mercurial 2.1.  Their purpose is to keep you from accidentally modifying changesets you've shared with others, or from accidentally sharing your patch queue with others.  In particular, this keeps you from pushing patches to try and from qpop'ing patches you've pushed to try!
[http://mercurial.selenic.com/wiki/Phases hg phases] were introduced in Mercurial 2.1.  Their purpose is to keep you from accidentally modifying changesets you've shared with others, or from accidentally sharing your patch queue with others.  In particular, this keeps you from pushing patches to try and from qpop'ing patches you've pushed to try!


In order to get pushing to try to work, you'll need to add the following to your ~/.hgrc:
In order to get pushing to try to work, you'll need to add the following to your ~/.hgrc:
<pre>[mq]
<pre>[mq]
secret = false</pre>
secret = false</pre>
qpop and qpush your patch queue and you should be able to push again.
qpop and qpush your patch queue and you should be able to push again.


But now when you qpop, you'll get
But now when you try to qpop, you'll get


<pre>abort: popping would remove an immutable revision</quote>
<pre>abort: popping would remove an immutable revision</pre>


You can force hg to let you <tt>qpop</tt> your patch queue by running
You can force hg to let you <tt>qpop</tt> your patch queue by running
187

edits

Navigation menu