1788 pfile = pathlib.Path(ericApp().getObject("Project").getProjectFile()) |
1788 pfile = pathlib.Path(ericApp().getObject("Project").getProjectFile()) |
1789 lastModified = pfile.stat().st_mtime |
1789 lastModified = pfile.stat().st_mtime |
1790 shouldReopen = ( |
1790 shouldReopen = ( |
1791 self.vcs.gitCherryPick( |
1791 self.vcs.gitCherryPick( |
1792 self.repodir, |
1792 self.repodir, |
1793 [commits[i] for i in sorted(commits.keys(), reverse=True)], |
1793 [commits[i] for i in sorted(commits, reverse=True)], |
1794 ) |
1794 ) |
1795 or pfile.stat().st_mtime != lastModified |
1795 or pfile.stat().st_mtime != lastModified |
1796 ) |
1796 ) |
1797 if shouldReopen: |
1797 if shouldReopen: |
1798 res = EricMessageBox.yesNo( |
1798 res = EricMessageBox.yesNo( |