Commit message Age Author Refs
r52509:9dbbaecf
dirstate-v2: add check of parent/child nodes being related when writing This stems from a corruption seen in a private repository. We're not sure of the source of the corruption, and it's very possible that we're seeing compounded effects of multiple writes on a corrupted dirstate. Adding this check is not expensive in itself and large writes of the dirstate are not common. This change does not catch this problem at the root node, the next one will.
Raphaël Gomès
0
r52508:a93e60eb
admin-verify: expect a number of errors to be returned It's the responsibility of the check to handle errors, we only care about the total count to sum up the check's work. We use `admin::verify -c dirstate` to test this path at least somewhat.
Raphaël Gomès
0
r52507:2a27b921
admin-verify: fix error message handling `dirstate.verify` used to return tuples but does not anymore, it returns the pre-formatted error message, which is a nicer interface anyway.
Raphaël Gomès
0
r52506:dcb00d5c
admin-verify: pass p1 down to the dirstate function This was forgotten and can break with certain kinds of corruption.
Raphaël Gomès
0
r52505:c1b6b8b0
Backed out changeset 3e0f86f09f26
Raphaël Gomès
0
r52504:436aee94
Backed out changeset fc317bd5b637
Raphaël Gomès
0
r52503:6c39edd1
re2: make errors quiet By default, the re2 library will output error on its own instead of keeping the error in an exception. This make re2 printing spurious error before fallback to the stdlib remodule that may accept the pattern or also fails to parse it and raise a proper error that will be handled by Mercurial. So we also pass an Option object that changes this default.
0
r52502:fc317bd5
fold-or-prune-me: update proposal This does the same things but with a narrower wrapping.
0
r52501:3e0f86f0
subrepo: propagate non-default path on outgoing There was already a fix made in 5dbff89cf107 for pull and push commands. I did the same for the outgoing command. The problem I identified is that when the parent repository has multiple paths, the outgoing command was not respecting the parent path used and was always using the default path for subrepositories.
Felipe Resende
0
r52500:a4b3b8de
hgrc: search XDG_CONFIG_HOME on mac Searching for hgrc was special cased not to look through ~/.config/hg on Mac, but that’s unnecessary: Macs support it as do other unix based systems. There are plenty tools that use it there, e.g. git, and people expect it to work, e.g. "https://stackoverflow.com/questions/72499837/mercurial-on-macos-doesnt-read-config-hg-hgrc". Initial code introduced in 354020079723.
Hraban Luyat
0
< 1 2 3 4 5 6 7 .. 5249 >