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

branch
eric7
changeset 10214
de0718b80010
parent 10069
435cc5875135
child 10215
d476667171a1
diff -r 0d0683edaf24 -r de0718b80010 src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Sat Sep 23 15:30:28 2023 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Mon Sep 25 12:09:23 2023 +0200
@@ -1255,11 +1255,15 @@
         @param ppath local path to get the repository infos (string)
         @return string with ready formated info for display (string)
         """
-        args = self.initCommand("parents")
-        args.append("--template")
-        args.append(
-            "{rev}:{node|short}@@@{tags}@@@{author|xmlescape}@@@"
-            "{date|isodate}@@@{branches}@@@{bookmarks}\n"
+        args = self.initCommand("log")
+        args.extend(
+            [
+                "--template",
+                "{rev}:{node|short}@@@{tags}@@@{author|xmlescape}@@@"
+                "{date|isodate}@@@{branches}@@@{bookmarks}\n",
+                "-r",
+                "parents()",
+            ]
         )
 
         output, error = self.__client.runcommand(args)

eric ide

mercurial