50 |
50 |
51 reposURL = self.vcs.svnGetReposName(path) |
51 reposURL = self.vcs.svnGetReposName(path) |
52 if reposURL is None: |
52 if reposURL is None: |
53 E5MessageBox.critical( |
53 E5MessageBox.critical( |
54 self, |
54 self, |
55 self.trUtf8("Subversion Error"), |
55 self.tr("Subversion Error"), |
56 self.trUtf8( |
56 self.tr( |
57 """The URL of the project repository could not be""" |
57 """The URL of the project repository could not be""" |
58 """ retrieved from the working copy. The operation will""" |
58 """ retrieved from the working copy. The operation will""" |
59 """ be aborted""")) |
59 """ be aborted""")) |
60 self.reject() |
60 self.reject() |
61 return |
61 return |
64 # determine the base path of the project in the repository |
64 # determine the base path of the project in the repository |
65 rx_base = QRegExp('(.+/)(trunk|tags|branches).*') |
65 rx_base = QRegExp('(.+/)(trunk|tags|branches).*') |
66 if not rx_base.exactMatch(reposURL): |
66 if not rx_base.exactMatch(reposURL): |
67 E5MessageBox.critical( |
67 E5MessageBox.critical( |
68 self, |
68 self, |
69 self.trUtf8("Subversion Error"), |
69 self.tr("Subversion Error"), |
70 self.trUtf8( |
70 self.tr( |
71 """The URL of the project repository has an""" |
71 """The URL of the project repository has an""" |
72 """ invalid format. The operation will""" |
72 """ invalid format. The operation will""" |
73 """ be aborted""")) |
73 """ be aborted""")) |
74 self.reject() |
74 self.reject() |
75 return |
75 return |