contrib/debian/default-tools.rc
author Boris Feld <boris.feld@octobus.net>
Thu, 05 Oct 2017 17:42:56 +0200
changeset 34847 e27f1f04c2cf
parent 32065 dc82c9777209
permissions -rw-r--r--
templatekw: introduce obsfate keyword Introduce an obsfate printer that uses all helpers functions defined in obsutil to get all the obsfate-related data and format a string according to the current format in test-obsmarker-template.t. Then, introduce an obsfate templatekw that uses the obsfateprinter to return a list of strings. The goal is not to replace existing obsfate template functions but to propose a default, good-enough and easily usable obsfate definition for end-users that don't want to customize it. Such output would ultimately get included in the default log output. Here are some output examples for a commit amended: rewritten using amend as 5:a9b1f8652753 by test (at 1970-01-01 00:00 +0000) Next patches will make the output dependent on the verbosity. Exemple of use-cases: For having the obsfate on a single-line between brackets: {if(obsfate, " [{join(obsfate, "; ")}]")} For having the obsfate in several lines: {if(obsfate, "{obsfate % " Obsfate: {fate}\n"}")}
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32065
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
[ui]
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
editor = sensible-editor
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
[pager]
dc82c9777209 debian: configure editor and pager to sensible-\1 by default
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
pager = sensible-pager