D10873: py3: byteify the version string passed to the deprecation warning method

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The other callers were already correct. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10873 AFFECTED FILES

D10875: revlog: byteify a few error strings

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10875 AFFECTED FILES mercurial/revlog.py CH

D10874: revlog: fix a typo closing the wrong file

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Caught by pytype as possibly being None, but the file is closed in the previous conditional. REPOSITORY rHG Mercurial

D10872: urlutil: byteify several localized messages

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Flagged by pytype. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10872 AFFECTED FILES mercurial/utils/url

D10871: urlutil: use the deprecation warning function on the `ui` object

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY PyCharm flagged this as not existing, and I suspect a copy/paste error. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial

D10870: typing: disable warnings for a couple of Windows specific attributes

2021-06-11 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D10870 AFFECTED FILES mercurial/windows.py CHANGE DETAILS diff --git a/mercuria

D10869: censor: implement censoring for revlogv2

2021-06-11 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY It is a bit verbose and rough, but it works. Most of that logic can be common for `stripping`, so we can expect more refactor

D10868: revlog: list older-but-still-around file in `files`

2021-06-11 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY These older files will eventually be removed, but we have to take them in account until they are. So we update `files` to keep

D10867: revlog: add docket method to request new content files

2021-06-11 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY If we want to write content into new files, we need to be able to ask for them. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mer

D10865: nodemap: fix some comment formatting

2021-06-11 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Black seems unhappy about it. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D10865 AFFECTED FILES mercurial/r

D10866: revlog: add a way to keep track of older uids in the docket

2021-06-11 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY When the revlog content is rewritten, we will use new files, to avoid truncating the previous ones. We need some way to keep track of the older files before we