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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.