Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3366
6084bb3c3911
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
48 48
49 reposURL = self.vcs.svnGetReposName(path) 49 reposURL = self.vcs.svnGetReposName(path)
50 if reposURL is None: 50 if reposURL is None:
51 E5MessageBox.critical( 51 E5MessageBox.critical(
52 self, 52 self,
53 self.trUtf8("Subversion Error"), 53 self.tr("Subversion Error"),
54 self.trUtf8( 54 self.tr(
55 """The URL of the project repository could not be""" 55 """The URL of the project repository could not be"""
56 """ retrieved from the working copy. The operation will""" 56 """ retrieved from the working copy. The operation will"""
57 """ be aborted""")) 57 """ be aborted"""))
58 self.reject() 58 self.reject()
59 return 59 return
62 # determine the base path of the project in the repository 62 # determine the base path of the project in the repository
63 rx_base = QRegExp('(.+/)(trunk|tags|branches).*') 63 rx_base = QRegExp('(.+/)(trunk|tags|branches).*')
64 if not rx_base.exactMatch(reposURL): 64 if not rx_base.exactMatch(reposURL):
65 E5MessageBox.critical( 65 E5MessageBox.critical(
66 self, 66 self,
67 self.trUtf8("Subversion Error"), 67 self.tr("Subversion Error"),
68 self.trUtf8( 68 self.tr(
69 """The URL of the project repository has an""" 69 """The URL of the project repository has an"""
70 """ invalid format. The list operation will""" 70 """ invalid format. The list operation will"""
71 """ be aborted""")) 71 """ be aborted"""))
72 self.reject() 72 self.reject()
73 return 73 return

eric ide

mercurial