57 Retcode should be True, if username and password should be used |
57 Retcode should be True, if username and password should be used |
58 by subversion, username and password contain the relevant data |
58 by subversion, username and password contain the relevant data |
59 as strings and save is a flag indicating, that username and |
59 as strings and save is a flag indicating, that username and |
60 password should be saved. |
60 password should be saved. |
61 """ |
61 """ |
62 from SvnLoginDialog import SvnLoginDialog |
62 from .SvnLoginDialog import SvnLoginDialog |
63 cursor = QApplication.overrideCursor() |
63 cursor = QApplication.overrideCursor() |
64 if cursor is not None: |
64 if cursor is not None: |
65 QApplication.restoreOverrideCursor() |
65 QApplication.restoreOverrideCursor() |
66 parent = isinstance(self, QWidget) and self or None |
66 parent = isinstance(self, QWidget) and self or None |
67 dlg = SvnLoginDialog(realm, username, may_save, parent) |
67 dlg = SvnLoginDialog(realm, username, may_save, parent) |
130 """ |
130 """ |
131 Protected method called by the client to request a log message. |
131 Protected method called by the client to request a log message. |
132 |
132 |
133 @return a flag indicating success and the log message (string) |
133 @return a flag indicating success and the log message (string) |
134 """ |
134 """ |
135 from SvnCommitDialog import SvnCommitDialog |
135 from .SvnCommitDialog import SvnCommitDialog |
136 if self.logMessage: |
136 if self.logMessage: |
137 return True, self.logMessage |
137 return True, self.logMessage |
138 else: |
138 else: |
139 # call CommitDialog and get message from there |
139 # call CommitDialog and get message from there |
140 dlg = SvnCommitDialog(self) |
140 dlg = SvnCommitDialog(self) |