src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py

branch
eric7
changeset 10214
de0718b80010
parent 10069
435cc5875135
child 10215
d476667171a1
equal deleted inserted replaced
10213:0d0683edaf24 10214:de0718b80010
1253 Public method to retrieve information about the repository. 1253 Public method to retrieve information about the repository.
1254 1254
1255 @param ppath local path to get the repository infos (string) 1255 @param ppath local path to get the repository infos (string)
1256 @return string with ready formated info for display (string) 1256 @return string with ready formated info for display (string)
1257 """ 1257 """
1258 args = self.initCommand("parents") 1258 args = self.initCommand("log")
1259 args.append("--template") 1259 args.extend(
1260 args.append( 1260 [
1261 "{rev}:{node|short}@@@{tags}@@@{author|xmlescape}@@@" 1261 "--template",
1262 "{date|isodate}@@@{branches}@@@{bookmarks}\n" 1262 "{rev}:{node|short}@@@{tags}@@@{author|xmlescape}@@@"
1263 "{date|isodate}@@@{branches}@@@{bookmarks}\n",
1264 "-r",
1265 "parents()",
1266 ]
1263 ) 1267 )
1264 1268
1265 output, error = self.__client.runcommand(args) 1269 output, error = self.__client.runcommand(args)
1266 1270
1267 infoBlock = [] 1271 infoBlock = []

eric ide

mercurial