mercurial/cmdutil.py
changeset 45796 e9555305c5c6
parent 45771 f90a5c211251
child 45812 976b26bdd0d8
--- a/mercurial/cmdutil.py	Thu Oct 29 13:29:05 2020 +0100
+++ b/mercurial/cmdutil.py	Thu Oct 29 09:03:08 2020 -0700
@@ -1224,13 +1224,11 @@
     if not spec:
         spec = (
             b'{separate(" ", '
-            b'label("log.changeset", "{rev}:{node|short}")'
-            b', '
-            b'label("log.tag", tags)'
+            b'label("oneline-summary.changeset", "{rev}:{node|short}")'
             b', '
-            b'label("log.bookmark", bookmarks)'
+            b'join(filter(namespaces % "{ifeq(namespace, "branches", "", join(names % "{label("oneline-summary.{namespace}", name)}", " "))}"), " ")'
             b')} '
-            b'"{label("log.desc", desc|firstline)}"'
+            b'"{label("oneline-summary.desc", desc|firstline)}"'
         )
     text = rendertemplate(ctx, spec)
     return text.split(b'\n')[0]