Changeset be01307155e3…
Parent a0e06cb080f0…
by
Changes to 2 files · Browse files at be01307155e3 Showing diff from parent a0e06cb080f0 Diff from another changeset...
@@ -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,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"""
|
Loading...