Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

reporegistry: reload repo after pull

Changeset be01307155e3

Parent a0e06cb080f0

by Adrian Buehlmann

Changes to 2 files · Browse files at be01307155e3 Showing diff from parent a0e06cb080f0 Diff from another changeset...

 
657
658
659
 
 
660
661
 
662
663
664
 
657
658
659
660
661
662
 
663
664
665
666
@@ -657,8 +657,10 @@
  url = pathitem.url()   reporoot = pathitem.parent().parent().rootpath()   + def finished(): + self.workbench.reloadRepository(reporoot)   args = ['pull', '-R', reporoot, url] - cmd = cmdui.Dialog(args, parent=self) + cmd = cmdui.Dialog(args, parent=self, finishfunc=finished)   cmd.setWindowTitle(_('Pulling'))   cmd.show_output(False)   cmd.exec_()
 
420
421
422
 
 
 
 
 
 
 
 
423
424
425
 
420
421
422
423
424
425
426
427
428
429
430
431
432
433
@@ -420,6 +420,14 @@
  w.reload()   self.setupBranchCombo()   + def reloadRepository(self, root): + tw = self.repoTabsWidget + for idx in range(tw.count()): + rw = tw.widget(idx) + if rw.repo.root == root: + rw.reload() + self.setupBranchCombo() +   #@timeit   def refreshRevisionTable(self, *args, **kw):   """Starts the process of filling the HgModel"""