Sadly, this is hg >= 4.2 only

Sat, 10 Jun 2017 19:48:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 10 Jun 2017 19:48:39 -0400
changeset 600
0e927f9c141a
parent 599
724683559a32
child 601
c1615fda063a

Sadly, this is hg >= 4.2 only

.hgrc file | annotate | diff | comparison | revisions
--- a/.hgrc
+++ b/.hgrc
@@ -56,11 +56,8 @@ changeset = {desc}\n\n
    "HG: branch merge\n")
    }HG: branch '{branch}'\n{if(currentbookmark,
    "HG: bookmark '{currentbookmark}'\n")  }{subrepos %
-   "HG: subrepo {subrepo}\n"              }{if(files,
-   "HG: ------------------------ >8 ------------------------
-    HG: Do not touch the line above.
-    HG: Everything below will be removed.
-    {diff()}", "HG: no files changed")}
+   "HG: subrepo {subrepo}\n"              }
+   {splitlines(diff()) % 'HG: {line}\n'}
 
 %include ~/.hgext/hgrc
 %include ~/.hgrc.local

mercurial