Mercurial > hg
annotate contrib/clang-format-ignorelist @ 47815:b30a53ffbf9b stable
debugcommands: introduce a debug command to repair repos affected by issue6528
This command is quite basic and slow, it will loop over the entirety of the
filelogs in the repository and check each revision for corruption, then fixes
the affected filelogs. It takes under 25 minutes for Mozilla-Central on my
not-top-of-the-line laptop, using the `--to-report` and `--from-report` options
will make this pretty tolerable to use, I think.
This change also introduces a test for the fix.
Differential Revision: https://phab.mercurial-scm.org/D11239
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 27 Jul 2021 21:45:27 +0200 |
parents | e92ca942ddca |
children |
rev | line source |
---|---|
34834
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
1 # Files that just need to be migrated to the formatter. |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
2 # Do not add new files here! |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
3 mercurial/cext/manifest.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
4 mercurial/cext/osutil.c |
2e8477059d4f
test-clang-format: new test to verify that files stay clang-formatted
Augie Fackler <augie@google.com>
parents:
diff
changeset
|
5 # Vendored code that we should never format: |
44037
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
6 syntax: glob |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
7 contrib/python-zstandard/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
8 contrib/python-zstandard/**.h |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
9 hgext/fsmonitor/pywatchman/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
10 mercurial/thirdparty/**.c |
98944715a02c
fix: convert clang-format-ignorelist to use wildcards
Kyle Lippincott <spectral@google.com>
parents:
43994
diff
changeset
|
11 mercurial/thirdparty/**.h |
46374
e92ca942ddca
cext: add Python 3.10 support
Victor Stinner <vstinner@python.org>
parents:
44037
diff
changeset
|
12 mercurial/pythoncapi_compat.h |