39 )) |
39 )) |
40 self.hgPurgeAct.setWhatsThis(self.trUtf8( |
40 self.hgPurgeAct.setWhatsThis(self.trUtf8( |
41 """<b>Purge Files</b>""" |
41 """<b>Purge Files</b>""" |
42 """<p>This deletes files and directories not known to Mercurial.""" |
42 """<p>This deletes files and directories not known to Mercurial.""" |
43 """ That means that purge will delete:<ul>""" |
43 """ That means that purge will delete:<ul>""" |
44 """<li>unknown files (marked with "not tracked" in the status dialog)</li>""" |
44 """<li>unknown files (marked with "not tracked" in the status""" |
|
45 """ dialog)</li>""" |
45 """<li>empty directories</li>""" |
46 """<li>empty directories</li>""" |
46 """</ul>Note that ignored files will be left untouched.</p>""" |
47 """</ul>Note that ignored files will be left untouched.</p>""" |
47 )) |
48 )) |
48 self.hgPurgeAct.triggered[()].connect(self.__hgPurge) |
49 self.hgPurgeAct.triggered[()].connect(self.__hgPurge) |
49 self.actions.append(self.hgPurgeAct) |
50 self.actions.append(self.hgPurgeAct) |
50 |
51 |
51 self.hgPurgeAllAct = E5Action(self.trUtf8('Purge All Files'), |
52 self.hgPurgeAllAct = E5Action(self.trUtf8('Purge All Files'), |
52 self.trUtf8('Purge All Files'), |
53 self.trUtf8('Purge All Files'), |
53 0, 0, self, 'mercurial_purge_all') |
54 0, 0, self, 'mercurial_purge_all') |
54 self.hgPurgeAllAct.setStatusTip(self.trUtf8( |
55 self.hgPurgeAllAct.setStatusTip(self.trUtf8( |
55 'Delete files and directories not known to Mercurial including ignored ones' |
56 'Delete files and directories not known to Mercurial including' |
|
57 ' ignored ones' |
56 )) |
58 )) |
57 self.hgPurgeAllAct.setWhatsThis(self.trUtf8( |
59 self.hgPurgeAllAct.setWhatsThis(self.trUtf8( |
58 """<b>Purge All Files</b>""" |
60 """<b>Purge All Files</b>""" |
59 """<p>This deletes files and directories not known to Mercurial.""" |
61 """<p>This deletes files and directories not known to Mercurial.""" |
60 """ That means that purge will delete:<ul>""" |
62 """ That means that purge will delete:<ul>""" |
61 """<li>unknown files (marked with "not tracked" in the status dialog)</li>""" |
63 """<li>unknown files (marked with "not tracked" in the status""" |
|
64 """ dialog)</li>""" |
62 """<li>empty directories</li>""" |
65 """<li>empty directories</li>""" |
63 """<li>ignored files and directories</li>""" |
66 """<li>ignored files and directories</li>""" |
64 """</ul></p>""" |
67 """</ul></p>""" |
65 )) |
68 )) |
66 self.hgPurgeAllAct.triggered[()].connect(self.__hgPurgeAll) |
69 self.hgPurgeAllAct.triggered[()].connect(self.__hgPurgeAll) |
79 """ These would be deleted by the "Purge Files" menu entry.</p>""" |
82 """ These would be deleted by the "Purge Files" menu entry.</p>""" |
80 )) |
83 )) |
81 self.hgPurgeListAct.triggered[()].connect(self.__hgPurgeList) |
84 self.hgPurgeListAct.triggered[()].connect(self.__hgPurgeList) |
82 self.actions.append(self.hgPurgeListAct) |
85 self.actions.append(self.hgPurgeListAct) |
83 |
86 |
84 self.hgPurgeAllListAct = E5Action(self.trUtf8('List All Files to be Purged'), |
87 self.hgPurgeAllListAct = E5Action( |
85 self.trUtf8('List All Files to be Purged...'), |
88 self.trUtf8('List All Files to be Purged'), |
86 0, 0, self, 'mercurial_purge_all_list') |
89 self.trUtf8('List All Files to be Purged...'), |
|
90 0, 0, self, 'mercurial_purge_all_list') |
87 self.hgPurgeAllListAct.setStatusTip(self.trUtf8( |
91 self.hgPurgeAllListAct.setStatusTip(self.trUtf8( |
88 'List files and directories not known to Mercurial including ignored ones' |
92 'List files and directories not known to Mercurial including' |
|
93 ' ignored ones' |
89 )) |
94 )) |
90 self.hgPurgeAllListAct.setWhatsThis(self.trUtf8( |
95 self.hgPurgeAllListAct.setWhatsThis(self.trUtf8( |
91 """<b>List All Files to be Purged</b>""" |
96 """<b>List All Files to be Purged</b>""" |
92 """<p>This lists files and directories not known to Mercurial including""" |
97 """<p>This lists files and directories not known to Mercurial""" |
93 """ ignored ones. These would be deleted by the "Purge All Files" menu""" |
98 """ including ignored ones. These would be deleted by the""" |
94 """ entry.</p>""" |
99 """ "Purge All Files" menu entry.</p>""" |
95 )) |
100 )) |
96 self.hgPurgeAllListAct.triggered[()].connect(self.__hgPurgeAllList) |
101 self.hgPurgeAllListAct.triggered[()].connect(self.__hgPurgeAllList) |
97 self.actions.append(self.hgPurgeAllListAct) |
102 self.actions.append(self.hgPurgeAllListAct) |
98 |
103 |
99 def initMenu(self, mainMenu): |
104 def initMenu(self, mainMenu): |