Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py

changeset 3020
542e97d4ecb3
parent 3008
7848489bcb92
child 3058
0a02c433f52d
child 3160
209a07d7e401
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
89 path = Utilities.toNativeSeparators(path) 89 path = Utilities.toNativeSeparators(path)
90 if path.startswith(self.__projectPath): 90 if path.startswith(self.__projectPath):
91 path = path.replace(self.__projectPath, "")[1:] 91 path = path.replace(self.__projectPath, "")[1:]
92 self.pathEdit.setText(path) 92 self.pathEdit.setText(path)
93 else: 93 else:
94 E5MessageBox.critical(self, 94 E5MessageBox.critical(
95 self,
95 self.trUtf8("Add Sub-repository"), 96 self.trUtf8("Add Sub-repository"),
96 self.trUtf8("""The sub-repository path must be inside""" 97 self.trUtf8("""The sub-repository path must be inside"""
97 """ the project.""")) 98 """ the project."""))
98 return 99 return
99 100

eric ide

mercurial