Mercurial > evolve
annotate .hg-format-source @ 4949:eb9bcef7cc5f
obslog: redefine default output as a template, unless -f was given
This was easier than I expected to do without affecting any test
output at all.
`hg obslog -f` is pretty broken with templating. For example, it
inserts a single "date" field, but it provides two values for it if
the dates are different. That results in a traceback when running
e.g. `hg obslog -f -Tfoo` with non-local obsmarkers with different
dates. We need to figure out what we want to put in the template for
the filtered case. I've just left it out for now.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 07 Nov 2019 23:17:34 -0800 |
parents | 48b30ff742cb |
children |
rev | line source |
---|---|
4814
48b30ff742cb
python3: use format-source to run byteify-strings in .py files
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
1 {"pattern": "glob:hgext3rd/**/*.py", "tool": "byteify-strings"} |