Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 2597
951e631c9c1d
parent 2576
b984efd69f15
child 2677
3d4277929fb3
child 2718
af0ba4c4bea6
equal deleted inserted replaced
2596:32c4afbe0801 2597:951e631c9c1d
2207 None, 2207 None,
2208 self.trUtf8("Preview changegroup"), 2208 self.trUtf8("Preview changegroup"),
2209 self.__lastChangeGroupPath or repodir, 2209 self.__lastChangeGroupPath or repodir,
2210 self.trUtf8("Mercurial Changegroup Files (*.hg);;All Files (*)")) 2210 self.trUtf8("Mercurial Changegroup Files (*.hg);;All Files (*)"))
2211 if file: 2211 if file:
2212 self.__lastChangeGroupPath = os.path.dirname(self.__lastChangeGroupPath) 2212 self.__lastChangeGroupPath = os.path.dirname(file)
2213 2213
2214 if self.getPlugin().getPreferences("UseLogBrowser"): 2214 if self.getPlugin().getPreferences("UseLogBrowser"):
2215 from .HgLogBrowserDialog import HgLogBrowserDialog 2215 from .HgLogBrowserDialog import HgLogBrowserDialog
2216 self.logBrowser = \ 2216 self.logBrowser = \
2217 HgLogBrowserDialog(self, mode="incoming", bundle=file) 2217 HgLogBrowserDialog(self, mode="incoming", bundle=file)
2242 None, 2242 None,
2243 self.trUtf8("Preview changegroup"), 2243 self.trUtf8("Preview changegroup"),
2244 self.__lastChangeGroupPath or repodir, 2244 self.__lastChangeGroupPath or repodir,
2245 self.trUtf8("Mercurial Changegroup Files (*.hg);;All Files (*)")) 2245 self.trUtf8("Mercurial Changegroup Files (*.hg);;All Files (*)"))
2246 if file: 2246 if file:
2247 self.__lastChangeGroupPath = os.path.dirname(self.__lastChangeGroupPath) 2247 self.__lastChangeGroupPath = os.path.dirname(file)
2248 2248
2249 args = [] 2249 args = []
2250 args.append('identify') 2250 args.append('identify')
2251 args.append(file) 2251 args.append(file)
2252 2252

eric ide

mercurial