1. Ian Kemp
  2. thg

Commits

TK Soh  committed 84dfbaf

cmenu: replace push/pull/in/out with Synchronize

  • Participants
  • Parent commits 742c79e
  • Branches default

Comments (0)

Files changed (2)

File hgproc.py

View file
  • Ignore whitespace
     elif option['hgcmd'] == 'serve':
         import hggtk.serve
         return hggtk.serve.run(cwd=option['cwd'], root=option['root'])
+    elif option['hgcmd'] == 'synch':
+        import hggtk.synch
+        return hggtk.synch.run(root=option['root'])
     elif option['hgcmd'] in ['incoming', 'pull']:
         import hggtk.paths
         path = hggtk.paths.run(root=option['root'], pull=True)

File tortoise/contextmenu.py

View file
  • Ignore whitespace
             result.append(TortoiseMenu(_("Clone"),
                            _("Clone a repository"),
                            self._clone))
-            result.append(TortoiseMenu(_("Pull"),
-                           _("Pull from default repository"),
-                           self._pull))
-            result.append(TortoiseMenu(_("Push"),
-                           _("Push to default repository"),
-                           self._push))
-            result.append(TortoiseMenu(_("Incoming"),
-                           _("show new changesets found in source"),
-                           self._incoming))
-            result.append(TortoiseMenu(_("Outgoing"),
-                           _("show changesets not found in destination"),
-                           self._outgoing))
+            result.append(TortoiseMenu(_("Synchronize"),
+                           _("Synchronize with remote repository"),
+                           self._synch))
             result.append(TortoiseMenu(_("Web server"),
                            _("start web server for this repository"),
                            self._serve))
     def _clone(self, parent_window):
         self._run_dialog('clone', True)
 
+    def _synch(self, parent_window):
+        self._run_dialog('synch', True)
+
     def _pull(self, parent_window):
         self._run_dialog('pull', True)