Mercurial > mozilla > hg > MozillaTry
comparison mozillatry.py @ 48:18643e92c91d
hg phases text -> /dev/null
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 25 Jan 2013 16:01:42 -0800 |
parents | 8a76eb02a3ef |
children | ca72b5866da1 |
comparison
equal
deleted
inserted
replaced
47:8a76eb02a3ef | 48:18643e92c91d |
---|---|
25 try: | 25 try: |
26 call(['hg', 'update', '-r', 'tip', '--clean'], cwd=directory) | 26 call(['hg', 'update', '-r', 'tip', '--clean'], cwd=directory) |
27 try: | 27 try: |
28 # XXX stupid; see | 28 # XXX stupid; see |
29 # https://wiki.mozilla.org/Build:TryServer#hg_phases | 29 # https://wiki.mozilla.org/Build:TryServer#hg_phases |
30 call(['hg', 'phase', '-f', '--draft', 'qbase:tip'], cwd=directory) | 30 call(['hg', 'phase', '-f', '--draft', 'qbase:tip'], cwd=directory, stdout=subprocess.PIPE) |
31 except subprocess.CalledProcessError: | 31 except subprocess.CalledProcessError: |
32 pass | 32 pass |
33 call(['hg', 'qpop', '--all'], cwd=directory) | 33 call(['hg', 'qpop', '--all'], cwd=directory) |
34 patches = os.path.join(hg_dir, 'patches') | 34 patches = os.path.join(hg_dir, 'patches') |
35 if os.path.exists(patches): | 35 if os.path.exists(patches): |