Reputation: 71
I am able to display the modified files for a changeset on newlines by using the following style with hg log command.
changeset = "{files}"
file = "{file}\n"
But how to display the added files for a changeset on newlines? I have tried the following styles
Newline after {file}
:
changeset = "{file_adds}"
file = "{file}\n"
Newline after {file_add}
:
changeset = "{file_adds}"
file = "{file_add}\n"
Newline after {file+}
:
changeset = "{file_adds}"
file = "{file+}\n"
Neither style works.
Upvotes: 2
Views: 204
Reputation: 73778
Use a style with
changeset = "{file_adds}"
file_add = "{file_add}\n"
to get a newline-separated list of added file names from hg log -v
.
(Yes, the template language is pretty horible and mostly undocumented.)
Upvotes: 1