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