27 @param vcs reference to the vcs object |
27 @param vcs reference to the vcs object |
28 @param parent parent widget (QWidget) |
28 @param parent parent widget (QWidget) |
29 """ |
29 """ |
30 super(VcsCommandOptionsDialog, self).__init__(parent) |
30 super(VcsCommandOptionsDialog, self).__init__(parent) |
31 self.setupUi(self) |
31 self.setupUi(self) |
32 |
|
33 if Utilities.isWindowsPlatform(): |
|
34 self.optionChars = ['-', '/'] |
|
35 else: |
|
36 self.optionChars = ['-'] |
|
37 |
32 |
38 opt = vcs.vcsGetOptions() |
33 opt = vcs.vcsGetOptions() |
39 self.globalEdit.setText(" ".join(opt['global'])) |
34 self.globalEdit.setText(" ".join(opt['global'])) |
40 self.commitEdit.setText(" ".join(opt['commit'])) |
35 self.commitEdit.setText(" ".join(opt['commit'])) |
41 self.checkoutEdit.setText(" ".join(opt['checkout'])) |
36 self.checkoutEdit.setText(" ".join(opt['checkout'])) |