src/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditEditor.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
9 9
10 Depending on the file name given by the Mercurial histedit command one 10 Depending on the file name given by the Mercurial histedit command one
11 of two possible dialogs will be shown. 11 of two possible dialogs will be shown.
12 """ 12 """
13 13
14 import os
14 import sys 15 import sys
15 import os
16 16
17 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "..", "..", "..")) 17 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "..", "..", ".."))
18 # four times up is the eric7 package directory 18 # four times up is the eric7 package directory
19 19
20 for arg in sys.argv[:]: 20 for arg in sys.argv[:]:
34 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir 34 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir
35 ) 35 )
36 sys.argv.remove(arg) 36 sys.argv.remove(arg)
37 37
38 from eric7.Globals import AppInfo 38 from eric7.Globals import AppInfo
39
40 from eric7.Toolbox import Startup 39 from eric7.Toolbox import Startup
41 40
42 41
43 def createMainWidget(argv): 42 def createMainWidget(argv):
44 """ 43 """

eric ide

mercurial