If you ran `mach bootstrap` or `mach vcs-setup` in the last month, you should already have a new hg command alias called `smart-annotate`, which runs `hg annotate` while ignoring some predefined changesets.
The primary use case is to ignore (semi-)automatic code-formatting changes. The list of changesets to ignore comes from two sources: - any commit that contains the string "ignore-this-changeset" in the summary (commit message) will be ignored automatically - other commits that doesn't contain that string can be added to the .hg-annotate-ignore-revs <https://searchfox.org/mozilla-central/source/.hg-annotate-ignore-revs> file Besides the command itself, there's also the "ignored_changesets" revset alias that you can use as you wish in other commands (e.g., `hg log -r ignored_changesets` will show you all the csets to be ignored) Sylvestre has included the "ignore-this-changeset" string in the tree-wide C++ style change patch, and we've gone and back-filled the .hg-annotate-ignore-revs file with previous eslint and clang-format changes. Happy New Year! Felipe (This work was tracked on bugs 1508002 <https://bugzilla.mozilla.org/show_bug.cgi?id=1508002> and 1508324 <https://bugzilla.mozilla.org/show_bug.cgi?id=1508324>) _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform