Plugins/VcsPlugins/vcsMercurial/hg.py

branch
5_1_x
changeset 1065
37dc3819ce14
parent 967
d0f77c6f3fd4
child 1069
d1334d6abefa
equal deleted inserted replaced
1060:e56185898d97 1065:37dc3819ce14
107 self.status = None 107 self.status = None
108 self.tagbranchList = None 108 self.tagbranchList = None
109 self.annotate = None 109 self.annotate = None
110 self.editor = None 110 self.editor = None
111 self.serveDlg = None 111 self.serveDlg = None
112
112 self.bundleFile = None 113 self.bundleFile = None
113 114
114 self.statusCache = {} 115 self.statusCache = {}
115 116
116 self.__commitData = {} 117 self.__commitData = {}
140 self.tagbranchList.close() 141 self.tagbranchList.close()
141 if self.annotate is not None: 142 if self.annotate is not None:
142 self.annotate.close() 143 self.annotate.close()
143 if self.serveDlg is not None: 144 if self.serveDlg is not None:
144 self.serveDlg.close() 145 self.serveDlg.close()
146 if self.editor is not None:
147 self.editor.close()
145 148
146 if self.bundleFile and os.path.exists(self.bundleFile): 149 if self.bundleFile and os.path.exists(self.bundleFile):
147 os.remove(self.bundleFile) 150 os.remove(self.bundleFile)
148 151
149 def vcsExists(self): 152 def vcsExists(self):
1985 if res: 1988 if res:
1986 dia.exec_() 1989 dia.exec_()
1987 1990
1988 def hgServe(self, name): 1991 def hgServe(self, name):
1989 """ 1992 """
1990 Public method used to edit the repository config file. 1993 Public method used to serve the project.
1991 1994
1992 @param name directory name (string) 1995 @param name directory name (string)
1993 """ 1996 """
1994 dname, fname = self.splitPath(name) 1997 dname, fname = self.splitPath(name)
1995 1998

eric ide

mercurial