eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 8259
2bbec88047dd
parent 8234
fcb6b4b96274
child 8273
698ae46f40a4
equal deleted inserted replaced
8258:82b608e352ec 8259:2bbec88047dd
968 """The URL of the project repository could not be""" 968 """The URL of the project repository could not be"""
969 """ retrieved from the working copy. The tag operation""" 969 """ retrieved from the working copy. The tag operation"""
970 """ will be aborted""")) 970 """ will be aborted"""))
971 return 971 return
972 972
973 if self.otherData["standardLayout"]: 973 url = (
974 url = None 974 None
975 else: 975 if self.otherData["standardLayout"] else
976 url = self.svnNormalizeURL(reposURL) 976 self.svnNormalizeURL(reposURL)
977 )
977 from .SvnTagDialog import SvnTagDialog 978 from .SvnTagDialog import SvnTagDialog
978 dlg = SvnTagDialog(self.allTagsBranchesList, url, 979 dlg = SvnTagDialog(self.allTagsBranchesList, url,
979 self.otherData["standardLayout"]) 980 self.otherData["standardLayout"])
980 if dlg.exec() == QDialog.DialogCode.Accepted: 981 if dlg.exec() == QDialog.DialogCode.Accepted:
981 tag, tagOp = dlg.getParameters() 982 tag, tagOp = dlg.getParameters()
1091 """The URL of the project repository could not be""" 1092 """The URL of the project repository could not be"""
1092 """ retrieved from the working copy. The switch""" 1093 """ retrieved from the working copy. The switch"""
1093 """ operation will be aborted""")) 1094 """ operation will be aborted"""))
1094 return False 1095 return False
1095 1096
1096 if self.otherData["standardLayout"]: 1097 url = (
1097 url = None 1098 None
1098 else: 1099 if self.otherData["standardLayout"] else
1099 url = self.svnNormalizeURL(reposURL) 1100 self.svnNormalizeURL(reposURL)
1101 )
1100 from .SvnSwitchDialog import SvnSwitchDialog 1102 from .SvnSwitchDialog import SvnSwitchDialog
1101 dlg = SvnSwitchDialog(self.allTagsBranchesList, url, 1103 dlg = SvnSwitchDialog(self.allTagsBranchesList, url,
1102 self.otherData["standardLayout"]) 1104 self.otherData["standardLayout"])
1103 if dlg.exec() == QDialog.DialogCode.Accepted: 1105 if dlg.exec() == QDialog.DialogCode.Accepted:
1104 tag, tagType = dlg.getParameters() 1106 tag, tagType = dlg.getParameters()

eric ide

mercurial