1. TortoiseHg
  2. TortoiseHg
  3. thg


TK Soh  committed a1567ac

context: preload custom dialogs to avoid import error at runtime

well, until we have a proper installer...

  • Participants
  • Parent commits 20fc508
  • Branches default

Comments (0)

Files changed (1)

File tortoise/contextmenu.py

View file
  • Ignore whitespace
 from mercurial import hg, ui, repo
 import gpopen
 from thgutil import *
+import commitdialog
+import updatedialog
 GUI_SHELL = 'guishell'
 SIMPLE_MERGE = os.path.join(os.path.dirname(__file__), os.path.pardir, 'hgutils',
             self._run_dialog('rollback', True)
     def _commit_simple(self, parent_window):
-        import commitdialog
         targets = self._filenames or [self._folder]
         #quoted_files = [shellquote(s) for s in targets]
     def _update(self, parent_window):
-        import updatedialog
         targets = self._filenames or [self._folder]