changeset 28:faacdfcd8ac9

https://wiki.mozilla.org/Build:TryServer#hg_phases
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Dec 2012 11:52:30 -0800
parents bd358da5c346
children ade4262c1c6d
files mozillatry.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mozillatry.py	Fri Dec 07 15:41:01 2012 -0800
+++ b/mozillatry.py	Mon Dec 10 11:52:30 2012 -0800
@@ -22,6 +22,10 @@
     if os.path.exists(patches):
         shutil.rmtree(patches)
     call(['hg', 'revert', '--no-backup', '--all'], cwd=directory)
+    try:
+        # XXX stupid; see
+        # https://wiki.mozilla.org/Build:TryServer#hg_phases
+        call(['hg', 'phase', '-f', '--draft', 'qbase:tip'], cwd=directory)
     call(['hg', 'qpop', '--all'], cwd=directory)
     try:
         shutil.rmtree(os.path.join(hg_dir, 'patches')) # remove patches