Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

repotreemodel: remove old implementation to show subrepo warning

Changeset 1fa1ad620f01

Parent 820bb1f31310

by Yuya Nishihara

Changes to one file · Browse files at 1fa1ad620f01 Showing diff from parent 820bb1f31310 Diff from another changeset...

 
293
294
295
296
297
298
299
300
 
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
 
293
294
295
 
 
296
297
298
 
311
312
313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
315
316
@@ -293,8 +293,6 @@
  count += 1     def loadSubrepos(self, root): - globalInvalidRepoList = [] - globalInvalidSubrepoList = []   warningmsg = ''   for c in getRepoItemList(root):   if self.showNetworkSubrepos \ @@ -313,21 +311,6 @@
  warningmsg += "</ul>"     # If some repos or subrepos could not be loaded, show a warning message - if False: - warningmsg = '' - if globalInvalidRepoList: - warningmsg = _('Some repos could not be fully loaded:') - warningmsg += "<ul><li>" - warningmsg += "<li>".join(globalInvalidRepoList) - warningmsg += "</ul><br>" - - if globalInvalidSubrepoList: - if warningmsg: - warningmsg += "<br>" - warningmsg = _('Some subrepos could not be loaded:') - warningmsg += "<br>" - warningmsg += "<br>".join(globalInvalidSubrepoList) -   if warningmsg:   warningmsg = _('Some repos could not be fully loaded:') + \   "<ul>" + warningmsg + '</ul>'