41 """<b>Convert repository to largefiles</b>""" |
41 """<b>Convert repository to largefiles</b>""" |
42 """<p>This converts the repository of the project to a""" |
42 """<p>This converts the repository of the project to a""" |
43 """ largefiles repository. A new project is created. The""" |
43 """ largefiles repository. A new project is created. The""" |
44 """ current one is kept as a backup.</p>""" |
44 """ current one is kept as a backup.</p>""" |
45 )) |
45 )) |
46 self.hgConvertToLargefilesAct.triggered[()].connect( |
46 self.hgConvertToLargefilesAct.triggered.connect( |
47 lambda: self.__hgLfconvert("largefiles")) |
47 lambda: self.__hgLfconvert("largefiles")) |
48 self.actions.append(self.hgConvertToLargefilesAct) |
48 self.actions.append(self.hgConvertToLargefilesAct) |
49 |
49 |
50 self.hgConvertToNormalAct = E5Action( |
50 self.hgConvertToNormalAct = E5Action( |
51 self.tr('Convert repository to normal'), |
51 self.tr('Convert repository to normal'), |
58 """<b>Convert repository to normal</b>""" |
58 """<b>Convert repository to normal</b>""" |
59 """<p>This converts the repository of the project to a""" |
59 """<p>This converts the repository of the project to a""" |
60 """ normal repository. A new project is created. The current""" |
60 """ normal repository. A new project is created. The current""" |
61 """ one is kept as a backup.</p>""" |
61 """ one is kept as a backup.</p>""" |
62 )) |
62 )) |
63 self.hgConvertToNormalAct.triggered[()].connect( |
63 self.hgConvertToNormalAct.triggered.connect( |
64 lambda: self.__hgLfconvert("normal")) |
64 lambda: self.__hgLfconvert("normal")) |
65 self.actions.append(self.hgConvertToNormalAct) |
65 self.actions.append(self.hgConvertToNormalAct) |
66 |
66 |
67 self.hgLfPullAct = E5Action( |
67 self.hgLfPullAct = E5Action( |
68 self.tr('Pull Large Files'), |
68 self.tr('Pull Large Files'), |
75 self.hgLfPullAct.setWhatsThis(self.tr( |
75 self.hgLfPullAct.setWhatsThis(self.tr( |
76 """<b>Pull Large Files</b>""" |
76 """<b>Pull Large Files</b>""" |
77 """<p>This pulls missing large files from a remote repository""" |
77 """<p>This pulls missing large files from a remote repository""" |
78 """ into the local repository.</p>""" |
78 """ into the local repository.</p>""" |
79 )) |
79 )) |
80 self.hgLfPullAct.triggered[()].connect(self.__hgLfPull) |
80 self.hgLfPullAct.triggered.connect(self.__hgLfPull) |
81 self.actions.append(self.hgLfPullAct) |
81 self.actions.append(self.hgLfPullAct) |
82 |
82 |
83 self.hgLfSummaryAct = E5Action( |
83 self.hgLfSummaryAct = E5Action( |
84 self.tr('Show Summary'), |
84 self.tr('Show Summary'), |
85 UI.PixmapCache.getIcon("vcsSummary.png"), |
85 UI.PixmapCache.getIcon("vcsSummary.png"), |
91 self.hgLfSummaryAct.setWhatsThis(self.tr( |
91 self.hgLfSummaryAct.setWhatsThis(self.tr( |
92 """<b>Show summary</b>""" |
92 """<b>Show summary</b>""" |
93 """<p>This shows some summary information of the working""" |
93 """<p>This shows some summary information of the working""" |
94 """ directory status.</p>""" |
94 """ directory status.</p>""" |
95 )) |
95 )) |
96 self.hgLfSummaryAct.triggered[()].connect(self.__hgLfSummary) |
96 self.hgLfSummaryAct.triggered.connect(self.__hgLfSummary) |
97 self.actions.append(self.hgLfSummaryAct) |
97 self.actions.append(self.hgLfSummaryAct) |
98 |
98 |
99 self.hgVerifyLargeAct = E5Action( |
99 self.hgVerifyLargeAct = E5Action( |
100 self.tr('Verify large files of current revision'), |
100 self.tr('Verify large files of current revision'), |
101 self.tr('Verify large files of current revision...'), |
101 self.tr('Verify large files of current revision...'), |
106 self.hgVerifyLargeAct.setWhatsThis(self.tr( |
106 self.hgVerifyLargeAct.setWhatsThis(self.tr( |
107 """<b>Verify large files of current revision</b>""" |
107 """<b>Verify large files of current revision</b>""" |
108 """<p>This verifies that all large files in the current""" |
108 """<p>This verifies that all large files in the current""" |
109 """ revision exist.</p>""" |
109 """ revision exist.</p>""" |
110 )) |
110 )) |
111 self.hgVerifyLargeAct.triggered[()].connect( |
111 self.hgVerifyLargeAct.triggered.connect( |
112 lambda: self.__hgLfVerify("large")) |
112 lambda: self.__hgLfVerify("large")) |
113 self.actions.append(self.hgVerifyLargeAct) |
113 self.actions.append(self.hgVerifyLargeAct) |
114 |
114 |
115 self.hgVerifyLfaAct = E5Action( |
115 self.hgVerifyLfaAct = E5Action( |
116 self.tr('Verify large files of all revision'), |
116 self.tr('Verify large files of all revision'), |
122 self.hgVerifyLfaAct.setWhatsThis(self.tr( |
122 self.hgVerifyLfaAct.setWhatsThis(self.tr( |
123 """<b>Verify large files of all revision</b>""" |
123 """<b>Verify large files of all revision</b>""" |
124 """<p>This verifies that all large files in all""" |
124 """<p>This verifies that all large files in all""" |
125 """ revisions exist.</p>""" |
125 """ revisions exist.</p>""" |
126 )) |
126 )) |
127 self.hgVerifyLfaAct.triggered[()].connect( |
127 self.hgVerifyLfaAct.triggered.connect( |
128 lambda: self.__hgLfVerify("lfa")) |
128 lambda: self.__hgLfVerify("lfa")) |
129 self.actions.append(self.hgVerifyLfaAct) |
129 self.actions.append(self.hgVerifyLfaAct) |
130 |
130 |
131 self.hgVerifyLfcAct = E5Action( |
131 self.hgVerifyLfcAct = E5Action( |
132 self.tr('Verify large files contents'), |
132 self.tr('Verify large files contents'), |
137 )) |
137 )) |
138 self.hgVerifyLfcAct.setWhatsThis(self.tr( |
138 self.hgVerifyLfcAct.setWhatsThis(self.tr( |
139 """<b>Verify large files contents</b>""" |
139 """<b>Verify large files contents</b>""" |
140 """<p>This verifies the contents of all large files.</p>""" |
140 """<p>This verifies the contents of all large files.</p>""" |
141 )) |
141 )) |
142 self.hgVerifyLfcAct.triggered[()].connect( |
142 self.hgVerifyLfcAct.triggered.connect( |
143 lambda: self.__hgLfVerify("lfc")) |
143 lambda: self.__hgLfVerify("lfc")) |
144 self.actions.append(self.hgVerifyLfcAct) |
144 self.actions.append(self.hgVerifyLfcAct) |
145 |
145 |
146 def initMenu(self, mainMenu): |
146 def initMenu(self, mainMenu): |
147 """ |
147 """ |