13 import pysvn |
13 import pysvn |
14 |
14 |
15 from PyQt6.QtCore import Qt |
15 from PyQt6.QtCore import Qt |
16 from PyQt6.QtWidgets import QDialog, QApplication |
16 from PyQt6.QtWidgets import QDialog, QApplication |
17 |
17 |
18 from E5Utilities.E5MutexLocker import E5MutexLocker |
18 from EricUtilities.EricMutexLocker import EricMutexLocker |
19 |
19 |
20 from .SvnUtilities import formatTime |
20 from .SvnUtilities import formatTime |
21 from .SvnDialogMixin import SvnDialogMixin |
21 from .SvnDialogMixin import SvnDialogMixin |
22 from VCS.Ui_RepositoryInfoDialog import Ui_VcsRepositoryInfoDialog |
22 from VCS.Ui_RepositoryInfoDialog import Ui_VcsRepositoryInfoDialog |
23 |
23 |
59 @param fn file or directory name relative to the project (string) |
59 @param fn file or directory name relative to the project (string) |
60 """ |
60 """ |
61 cwd = os.getcwd() |
61 cwd = os.getcwd() |
62 os.chdir(projectPath) |
62 os.chdir(projectPath) |
63 try: |
63 try: |
64 with E5MutexLocker(self.vcs.vcsExecutionMutex): |
64 with EricMutexLocker(self.vcs.vcsExecutionMutex): |
65 entries = self.client.info2(fn, recurse=False) |
65 entries = self.client.info2(fn, recurse=False) |
66 infoStr = "<table>" |
66 infoStr = "<table>" |
67 for path, info in entries: |
67 for path, info in entries: |
68 infoStr += self.tr( |
68 infoStr += self.tr( |
69 "<tr><td><b>Path (relative to project):</b></td>" |
69 "<tr><td><b>Path (relative to project):</b></td>" |