Source

thg-patches / SyncMqPush.diff

# HG changeset patch
# Parent a21eb9eca14c2a6629bbeacbad02c1d99e111195
sync: add support for the --mq option in the sync tool for the push command

diff -r a21eb9eca14c -r e5edb137d9c6 tortoisehg/hgqt/sync.py
--- a/tortoisehg/hgqt/sync.py	Fri Nov 18 15:50:01 2011 +0100
+++ b/tortoisehg/hgqt/sync.py	Fri Nov 18 15:51:02 2011 +0100
@@ -925,7 +925,7 @@
         self.run(['--repository', self.repo.root, 'p4pending', '--verbose'], ())
 
     def pushclicked(self, confirm, rev=None, branch=None):
-        validopts = ('force', 'new-branch', 'branch', 'rev', 'bookmark')
+        validopts = ('force', 'new-branch', 'branch', 'rev', 'bookmark', 'mq')
         self.syncStarted.emit()
         url = self.currentUrl(True)
         urlu = hglib.tounicode(url)