2030 from UI.CompareDialog import CompareDialog |
2030 from UI.CompareDialog import CompareDialog |
2031 self.sbsDiff = CompareDialog() |
2031 self.sbsDiff = CompareDialog() |
2032 self.sbsDiff.show() |
2032 self.sbsDiff.show() |
2033 self.sbsDiff.compare(output1, output2, name1, name2) |
2033 self.sbsDiff.compare(output1, output2, name1, name2) |
2034 |
2034 |
2035 def svnLogBrowser(self, path, isFile=False): |
2035 def vcsLogBrowser(self, name, isFile=False): |
2036 """ |
2036 """ |
2037 Public method used to browse the log of a file/directory from the |
2037 Public method used to browse the log of a file/directory from the |
2038 Subversion repository. |
2038 Subversion repository. |
2039 |
2039 |
2040 @param path file/directory name to show the log of (string) |
2040 @param name file/directory name to show the log of (string) |
2041 @param isFile flag indicating log for a file is to be shown (boolean) |
2041 @param isFile flag indicating log for a file is to be shown (boolean) |
2042 """ |
2042 """ |
2043 if self.logBrowser is None: |
2043 if self.logBrowser is None: |
2044 from .SvnLogBrowserDialog import SvnLogBrowserDialog |
2044 from .SvnLogBrowserDialog import SvnLogBrowserDialog |
2045 self.logBrowser = SvnLogBrowserDialog(self) |
2045 self.logBrowser = SvnLogBrowserDialog(self) |
2046 self.logBrowser.show() |
2046 self.logBrowser.show() |
2047 self.logBrowser.start(path, isFile=isFile) |
2047 self.logBrowser.start(name, isFile=isFile) |
2048 |
2048 |
2049 def svnLock(self, name, stealIt=False, parent=None): |
2049 def svnLock(self, name, stealIt=False, parent=None): |
2050 """ |
2050 """ |
2051 Public method used to lock a file in the Subversion repository. |
2051 Public method used to lock a file in the Subversion repository. |
2052 |
2052 |