64 self.trUtf8("Select Repository-Directory"), |
65 self.trUtf8("Select Repository-Directory"), |
65 self.vcsUrlEdit.text(), |
66 self.vcsUrlEdit.text(), |
66 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) |
67 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) |
67 |
68 |
68 if directory: |
69 if directory: |
69 self.vcsUrlEdit.setText(Utilities.toNativeSeparators(directory)) |
70 self.vcsUrlEdit.setText( |
|
71 Utilities.toNativeSeparators(directory)) |
70 else: |
72 else: |
71 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
73 from .SvnRepoBrowserDialog import SvnRepoBrowserDialog |
72 dlg = SvnRepoBrowserDialog(self.vcs, mode="select", parent=self) |
74 dlg = SvnRepoBrowserDialog(self.vcs, mode="select", parent=self) |
73 dlg.start(self.protocolCombo.currentText() + self.vcsUrlEdit.text()) |
75 dlg.start( |
|
76 self.protocolCombo.currentText() + self.vcsUrlEdit.text()) |
74 if dlg.exec_() == QDialog.Accepted: |
77 if dlg.exec_() == QDialog.Accepted: |
75 url = dlg.getSelectedUrl() |
78 url = dlg.getSelectedUrl() |
76 if url: |
79 if url: |
77 protocol = url.split("://")[0] |
80 protocol = url.split("://")[0] |
78 path = url.split("://")[1] |
81 path = url.split("://")[1] |