eric6/Plugins/VcsPlugins/vcsGit/ProjectBrowserHelper.py

changeset 7518
6dea4abd3097
parent 7492
39e3ed0bc0c6
child 7533
88261c96484b
equal deleted inserted replaced
7517:d6910340b538 7518:6dea4abd3097
618 fn = itm.fileName() 618 fn = itm.fileName()
619 except AttributeError: 619 except AttributeError:
620 fn = itm.dirName() 620 fn = itm.dirName()
621 isFile = os.path.isfile(fn) 621 isFile = os.path.isfile(fn)
622 movefiles = self.browser.project.getFiles(fn) 622 movefiles = self.browser.project.getFiles(fn)
623 self.browser.project.stopFileSystemMonitoring()
623 if self.vcs.vcsMove(fn, self.project): 624 if self.vcs.vcsMove(fn, self.project):
624 if isFile: 625 if isFile:
625 self.browser.closeSourceWindow.emit(fn) 626 self.browser.closeSourceWindow.emit(fn)
626 else: 627 else:
627 for mf in movefiles: 628 for mf in movefiles:
628 self.browser.closeSourceWindow.emit(mf) 629 self.browser.closeSourceWindow.emit(mf)
630 self.browser.project.startFileSystemMonitoring()
629 631
630 def __GitExtendedDiff(self): 632 def __GitExtendedDiff(self):
631 """ 633 """
632 Private slot called by the context menu to show the difference of a 634 Private slot called by the context menu to show the difference of a
633 file to the repository. 635 file to the repository.

eric ide

mercurial