changeset 1066:9e85515dbe4f

feat: indicate orphaned and hidden nodes in oneline log
author Zeger Van de Vannet <zeger@vandevan.net>
date Fri, 27 Sep 2024 09:57:02 +0200
parents 53dd3a0d6914
children b2854e8f8d5d
files dot_hgrc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dot_hgrc	Fri Sep 27 09:56:21 2024 +0200
+++ b/dot_hgrc	Fri Sep 27 09:57:02 2024 +0200
@@ -68,6 +68,7 @@
 st = status -mard
 stat = status -mard
 blame = annotate -cufld
+fs = diff -c . --stat
 
 
 [diff]
@@ -114,11 +115,11 @@
   {diff()}
 
 [templatealias]
-commitinfo = '{date|shortdate} {pad(label("grep.user", author|person), 20, left=True, truncate=True)}  {desc|strip|firstline}'
+commitinfo = '{date|shortdate} {pad(label("grep.user", author|person), 25, left=True, truncate=True)}  {desc|strip|firstline}'
 
 [templates]
 oneline_stack = '{pad("{label("stack.index", "s{stack_index}")}{label("stack.state.{state}", symbol)}", 5, left=True)} {label("stack.state.{state}", pad(state, 8))} {commitinfo}\n'
-oneline = '{label("changeset.{phase}", node|short)} {pad(label("log.branch", fqbn), 25, truncate=True)} {commitinfo}\n'
+oneline = '{ifcontains(graphnode, "x*", graphnode, ' ')} {label("changeset.{phase}", node|short)} {pad(label("log.branch", fqbn), 30, truncate=True)} {pad(commitinfo, termwidth - 50, truncate=True)}\n'
 
 [color]
 mode=auto