Mercurial > hg-stable
annotate black.toml @ 46547:5aac1a1a5beb
tagcache: distinguish between invalid and missing entries
The TortoiseHg repo has typically not had a newly applied tag accessible by name
for recent releases, for unknown reasons. Deleting and rebuilding the tag cache
doesn't fix it, though deleting the cache and running `hg log -r $new_tag` does.
Eventually the situation does sort itself out for new clones from the server.
In an effort to figure out what the issue is, Pierre-Yves David suggested
listing these entries in the debug output more specifically.
This isn't complete yet- the second test change that says "missing" is more like
"invalid", since it was truncated. The problem there is the code that reads the
raw array truncates any partial records and then fills it with 0xFF, which
signifies that it is missing. As a side note, that means the check for the
length when validating an existing entry never fails.
Differential Revision: https://phab.mercurial-scm.org/D9811
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 24 Dec 2020 11:21:23 -0500 |
parents | 5be886200eb6 |
children |
rev | line source |
---|---|
46520
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 [tool.black] |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 line-length = 80 |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 exclude = ''' |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 build/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 | wheelhouse/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 | dist/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 | packages/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 | \.hg/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 | \.mypy_cache/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 | \.venv/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 | mercurial/thirdparty/ |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 ''' |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 skip-string-normalization = true |
5be886200eb6
ci-fix: backed out changeset d4c8b4b90ecb
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 quiet = true |