eric6/Plugins/VcsPlugins/vcsMercurial/ProjectBrowserHelper.py

changeset 7518
6dea4abd3097
parent 7493
1696e91a5393
child 7533
88261c96484b
equal deleted inserted replaced
7517:d6910340b538 7518:6dea4abd3097
714 fn = itm.fileName() 714 fn = itm.fileName()
715 except AttributeError: 715 except AttributeError:
716 fn = itm.dirName() 716 fn = itm.dirName()
717 isFile = os.path.isfile(fn) 717 isFile = os.path.isfile(fn)
718 movefiles = self.browser.project.getFiles(fn) 718 movefiles = self.browser.project.getFiles(fn)
719 self.browser.project.stopFileSystemMonitoring()
719 if self.vcs.vcsMove(fn, self.project): 720 if self.vcs.vcsMove(fn, self.project):
720 if isFile: 721 if isFile:
721 self.browser.closeSourceWindow.emit(fn) 722 self.browser.closeSourceWindow.emit(fn)
722 else: 723 else:
723 for mf in movefiles: 724 for mf in movefiles:
724 self.browser.closeSourceWindow.emit(mf) 725 self.browser.closeSourceWindow.emit(mf)
726 self.browser.project.startFileSystemMonitoring()
725 727
726 def __HgExtendedDiff(self): 728 def __HgExtendedDiff(self):
727 """ 729 """
728 Private slot called by the context menu to show the difference of a 730 Private slot called by the context menu to show the difference of a
729 file to the repository. 731 file to the repository.

eric ide

mercurial