885 project.removeDirectory(name) |
885 project.removeDirectory(name) |
886 else: |
886 else: |
887 project.removeFile(name) |
887 project.removeFile(name) |
888 return res |
888 return res |
889 |
889 |
890 def vcsLog(self, name): |
|
891 """ |
|
892 Public method used to view the log of a file/directory from the |
|
893 Subversion repository. |
|
894 |
|
895 @param name file/directory name to show the log of (string) |
|
896 """ |
|
897 isFile = os.path.isfile(name) |
|
898 noEntries, ok = QInputDialog.getInt( |
|
899 None, |
|
900 self.tr("Subversion Log"), |
|
901 self.tr("Select number of entries to show."), |
|
902 self.getPlugin().getPreferences("LogLimit"), 1, 999999, 1) |
|
903 if ok: |
|
904 from .SvnLogDialog import SvnLogDialog |
|
905 self.log = SvnLogDialog(self, isFile=isFile) |
|
906 self.log.show() |
|
907 self.log.raise_() |
|
908 self.log.start(name, noEntries) |
|
909 |
|
910 def vcsDiff(self, name): |
890 def vcsDiff(self, name): |
911 """ |
891 """ |
912 Public method used to view the difference of a file/directory to the |
892 Public method used to view the difference of a file/directory to the |
913 Subversion repository. |
893 Subversion repository. |
914 |
894 |