comparison mozillatry.py @ 44:6d130b5ddd33

make sure to push the patch
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 11 Jan 2013 15:46:41 -0800
parents 3a78de4d900d
children 9c3726a3d466
comparison
equal deleted inserted replaced
43:3a78de4d900d 44:6d130b5ddd33
51 """apply patches to an hg repository""" 51 """apply patches to an hg repository"""
52 52
53 update_repo(directory) 53 update_repo(directory)
54 54
55 for patch in patches: 55 for patch in patches:
56 call(['hg', 'qimport', patch], cwd=directory) 56 call(['hg', 'qimport', patch, '--push'], cwd=directory)
57 57
58 ### methods for try 58 ### methods for try
59 59
60 def push_to_try(patches, repo, commit, _try='ssh://hg.mozilla.org/try/', update=True): 60 def push_to_try(patches, repo, commit, _try='ssh://hg.mozilla.org/try/', update=True):
61 """push a series of patches to try repository""" 61 """push a series of patches to try repository"""