Mercurial > hg > hq
comparison hq/main.py @ 19:8ec5895e9229
call oon the queue
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 20 May 2013 11:51:54 -0700 |
parents | d4e5d09e007c |
children | bc17ab3c516e |
comparison
equal
deleted
inserted
replaced
18:d4e5d09e007c | 19:8ec5895e9229 |
---|---|
64 - message : commit message | 64 - message : commit message |
65 """ | 65 """ |
66 call(['hg', 'qrefresh']) | 66 call(['hg', 'qrefresh']) |
67 call(['hg', 'qcommit', '-m', message]) | 67 call(['hg', 'qcommit', '-m', message]) |
68 if self.network: | 68 if self.network: |
69 self._patch_command(*['hg', 'push']) | 69 self._patch_command(*['hg', 'push', '--mq']) |
70 | 70 |
71 def pull(self, repo=None, mq=True): | 71 def pull(self, repo=None, mq=True): |
72 """ | 72 """ |
73 pull from the root repository | 73 pull from the root repository |
74 if mq is true, update the patch queue, if versioned | 74 if mq is true, update the patch queue, if versioned |