2023-07-19 16:40:50 by Thomas Klausner | Files touched by this commit (5) | |
Log message:
py-mercurial: update to 6.5.
New Features
Improved Python 3.12 compatiblity
configitems: enable changegroup3 by default (unless using infinitepush)
extras: expose 'retained_extras' for extensions to extend
stabletailgraph: implement stable-tail sort
stabletailgraph: naive version of leap computation
bundle: introduce a "v3" spec
clone-bundles: add a basic first version of automatic bundle generation
clone-bundles: garbage collect older bundle when generating new ones
clone-bundles: only regenerate the clone bundle when cached ration is low
clone-bundles: also control automation based on absolute number of revisions
clone-bundles: add a configuration to control auto-generation on changes
clone-bundles: introduce a command to refresh bundle
clone-bundles: add a command to clear all bundles
clone-bundles: add an option to generate bundles in the background
clonebundles: add support for inline (streaming) clonebundles
clonebundles: adds a auto-generate.serve-inline option
match: add filepath: pattern to match an exact filepath relative to the root
hgweb: add "children" into the JSON template for a changeset
hgweb: add support to explicitly access hidden changesets
pull: add --remote-hidden option and pass it through peer creation
hidden: add support for --remote-hidden to HTTP peer
hidden: support passing --hidden with serve --stdio
hidden: add support to explicitly access hidden changesets with SSH peers
perf: introduce a perf::stream-locked-section command
perf: add a function to find a stream version generator
perf: add support for stream-v3 during benchmark
perf: add a perf::stream-generate command
perf: add a perf::stream-consume
cli: make debugnodemap capable of inspecting an arbitrary nodemap
rust: configure MSRV in Clippy
rhg: make rhg files work if ui.relative-files=true is specified
rhg: support rhg files with ui.relative-paths=false
rhg: support status --print0
tree-manifest: allow debugupgraderepo to run on tree manifest repo
library: enable runpy invocation on mercurial package
library: incorporate demandimport into runpy invocation
exchange: allow passing no includes/excludes to pull()
New Experimental Features
stream-clone: add an experimental v3 version of the protocol
stream-clone: support streamv3 on the cli [hg bundle]
Bug Fixes
mail: add a missing argument to properly override starttls
bundle: include required phases when saving a bundle (issue6794)
outgoing: fix common-heads computation from missingroots argument
strip: do not include internal changeset in the strip backup
bundle: abort if the user request bundling of internal changesets
bundle: prevent implicit bundling of internal changeset
encoding: avoid quadratic time complexity when json-encoding non-UTF8 strings
sha1dc: Make sure SHA1DC_BIGENDIAN is set on Darwin/PowerPC
zstd: hack include order to ensure that our zstd.h is found
dirstate: better error messages when dirstate is corrupted
stream-clone: avoid opening a revlog in case we do not need it
treemanifest: make updatecaches update the nodemaps for all directories
rust-hg-core: move from ouroboros to self_cell
rust-dependencies: switch from users to whoami
dirstate-v2: actually fix the dirstate-v2 upgrade race
dirstate: avoid leaking disk space in hg debugrebuilddirstate
clonebundles: add warning if auto-generate is enabled without formats
win32mbcs: unbyteify some strings for py3 support
rust-revlog: fix incorrect results with NULL_NODE prefixes
rust-revlog: fix RevlogEntry.data() for NULL_REVISION
Backwards Compatibility Changes
infinitepush: aggressively deprecated infinite push
narrow: indicated the default of 'Yes' when confirming auto-remove-includes
Internal API Changes
Store walk was reworked to fix small race conditions in stream-clone and
greatly improve its API robustness and flexibility.
Miscellaneous
Typechecking support was improved in a lot of places
Removed more useless compat code for now unsupported Python versions
Sped up zstd usage in Rust contexts
revlog: add an exception hint when processing LFS flags without the extension
ui: keep the progress bar around when writing if stdout is not a tty
transaction: use a ".bck" extension for all backup file
|
2023-06-28 12:47:09 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-mercurial: update to 6.4.5.
re2: fix reporting of availability in hg debuginstall
ui: fix crash in hg paths when pulled-delta-reuse-policy is in use
path: display proper user facing value for pulled-delta-reuse-policy
|
2023-06-17 00:30:00 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-mercurial: update to 6.4.4.
= Mercurial 6.4.4 =
* clonebundles: filter out invalid schemes instead of failing on them
* doc: format argument for date uses strftime format string (issue6818)
* test: make test-contrib-perf.t more robust
* revlog: fix a bug in revlog splitting
* bundles: clarify streaming v2 bundle usage
* delta-find: fix pulled-delta-reuse-policy=forced behavior
* dirstate: fall back to v1 if reading v2 failed
* revlog: avoid possible collision between directory and temporary index
|
2023-06-14 13:07:26 by Taylor R Campbell | Files touched by this commit (2) |
Log message:
devel/py-mercurial: Make this cross-compile.
|
2023-05-07 13:57:40 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-mercurial: update to 6.4.3.
Mercurial 6.4.3
chg: declare environ (issue6812)
chg: set CHGHG before connecting to command server
delta-find: never do anything fancy when general delta is off
delta-find: add a simple safeguard to prevent bad non-general-delta
debug-delta: add minimal documentation for devel.bundle-delta option
fix: highlight the required configuration and behavior of the fixer tools
rhg: don't print copy source when --no-status is passed
rhg: correctly relativize copy source path
repo-upgrade: write new requirement before upgrading the dirstate
backup: fix issue when the backup end up in a different directory
|
2023-04-23 10:39:15 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-mercurial: update to 6.4.2.
Exceptional bugfix release due to a corruption bug that happens
when using clonebundles on repositories with large files.
revlog-split: make sure the self._indexfile attribute is reset (issue6811)
|
2023-04-18 09:46:32 by Thomas Klausner | Files touched by this commit (4) | |
Log message:
py-mercurial: update to 6.4.1.
= Mercurial 6.4.1 =
* rhg: fix a bug in path encoding
* rhg: don't crash on empty directory names in path_encode, just in case
* commands: correct documentation of hg serve’s --ipv6 options
* run-tests: remove obsolete coverage check and packaging import (issue6805)
* chg: populate CHGHG if not set
* match: sort patterns before compiling them into a regex
* match: match explicit file using a set
* rebase: do not cleanup the working copy when --dry-run is used (issue6802)
* sslutil: set context security level for legacy tls testing (issue6760)
|
2023-04-12 12:39:06 by Thomas Klausner | Files touched by this commit (3) |
Log message:
py-mercurial: get rid of unneeded test dependency using upstream patch
|
2023-03-29 13:29:27 by Thomas Klausner | Files touched by this commit (5) | |
Log message:
py-mercurial: update to 6.4.
New Features
There is a new internal merge tool called internal:union-other-first.
It works like internal:union but add other side on top of local.
Pullbundles are enabled by default
delta-find: add a way to control the number of bases tested at the same time
changelog-v2: add a configuration to disable rank computation
debug: add an option to display statistic about a bundling operation
debug: add an option to display statistic about a unbundling operation
delta-find: add a delta-reuse policy that blindly accepts incoming deltas
debug: add debug-revlog-stats command
dirstate: add narrow support to verify
verify: also check dirstate
commit: add --draft option to use draft phase
amend: add a --draft option to set phase to draft
debug: add a config to abort update early
rhg: implement checkexec to support weird filesystems
debugshell: allow commands to be specified as a CLI argument
rhg-files: add support for narrow when specifying a revision
rust-narrow: enable narrow support for plain rhg files
Bug Fixes
Aside from the following (unordered) commits which made it through a manual \
filter, there are a bunch of typing improvements and fixes, removal of \
deprecated code and general code cleanup.
lfs: improve an exception message for blob corruption detected on transfer
revlog: use the user facing filename as the display_id for filelogs
rust-status: query fs traversal metadata lazily
shelve: add Shelf.changed_files for resolving changed files in a plugin
demandimport: ensure lazyloaderex sets loader attributes (issue6725)
typing: fix a syntax error in mercurial/cext/bdiff.pyi
cffi: fix a bytes vs str issue on macOS when listing directories
changelog-v2: fix the docket struct
schemes: fix a broken check for drive letter conflicts
worker: avoid reading 1 byte at a time from the OS pipe
rust-narrow: fix loop that never loops
setup: Ensure target directory exists with building rust extension
dirstate: invalidate changes when parent-change fails
dirstate: warn about non-explicitly rolledback parent-change
dirstate: write dirstate on successful exit of changing_parents context
largefile: make sure we hold the lock when updating the second dirstate
dirstate: enforce holding the lock while doing any changes
run-tests: stop ignoring venv-installed packages
transaction: run abort callback in all cases
transaction: quietly rollback if no other changes than temporary files
debugrebuilddirstate: double check that no transaction is open
dirstate: do not write an empty dirstate just for backup
locking: take the wlock for the full hg add duration
locking: take the wlock for the full hg remove duration
locking: take the wlock for the full hg forget duration
locking: take the wlock for the full hg addremove duration
locking: grab the wlock before touching the dirstate in perfdirstatewrite
locking: hold the wlock for the full duration of the "keyword demo"
mq: properly take the wlock during the full qfold operation
dirstate: invalidate the dirstate change on transaction failure
status: fix post status writing
status: fix post status invalidation
dirstate: avoid transaction backup/restore if we do not hold the lock
rollback: explicitly skip dirstate rollback when applicable
dirstate-guard: remove the feature
dirstate: make restorebackup more robust when it is a noop
dirstate: generalize the dirstate's invalidation on transaction abort
dirstate: detect potential fishy transaction patterns while changing
mq: write the dirstate before stripping
dirstate: explicitly backup the datafile
localrepo: enforce a clean dirstate when the transaction open
localrepo: "blindly" do a dirstate backup at the end of the transaction
dirstate: remove the dedicated backup logic
rhg: fix a bug in path_encode
dirstate: invalidate on all exceptions
large-files: make sure we write newly initialized standin file early
dirstate: warn if dirty when starting an edition
dirstate: track that changes are pending in a transaction
dirstate: distinct transaction callback from largefile
automv: lock the repository before searching for renames
dirstate: only reload the dirstate when it may have changed
dirstate: cleanup the _map property cache
status: invalidate dirstate on LockError
dirstate: check that dirstate is clean at the initial context opening
dirstate: have running_status write the dirstate when holding the lock
dirstate: have running_status warn when exiting with a dirty dirstate
narrow: widden the lock context in tracking
narrow: enforce that narrow spec is written within a transaction
transaction: no longer explicitly cache phaseroots
transaction: no longer explicitly cache bookmarks
transaction: use the standard transaction mechanism to backup branch
bundlerepo: handle changegroup induced phase movement in the associated method
bundlerepo: apply phase data stored in the bundle instead of assuming draft
config-item: declare undeclared path suboption
narrow: read pending file when applicable
rust: fix building on macOS (issue6801)
run-tests: fix a crash when using the coverage options
undo-files: also remove the undo.backupfiles
undo-files: cleanup backup when cleaning undos
undo-files: clean existing files up before writing new one
undo-files: cleanup legacy files when applicable
dirstate-v2: fix an incorrect handling of readdir errors
rust: update zstd dependency
rust: upgrade rayon dependency
dirstate: fix the bug in [status] dealing with committed&ignored directories
dirstate: fix a potential traceback when in copy and rename
histedit: fix diff colors
cext: fix for PyLong refactoring in CPython 3.12
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
statprof: with Python 3.12, lineno is (more) often None
transaction: properly clean up backup file outside of .hg/store/
transaction: raise on backup restoration error
revlog: improve the robustness of the splitting process
debugdeltachain: stop summing the same chain over and over
url: don't ignore timeout for https connections
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences
tests: accept a test output change in [tests/test-serve.t]
rust: fix thread cap (for real this time)
dirstate: try refreshing the changelog when parent are unknown
hooks: invalidate the repo after the hooks
Backwards Compatibility Changes
rust: upgrade supported Rust toolchain version
rust: move all crates in the main workspace to edition 2021
hg-core: upgrade zstd dependency
hg-core: upgrade clap dependency
hg-core: upgrade all remaining dependencies
hg-cpython: upgrade dependencies
rhg: upgrade clap dependency
rhg: upgrade the remainder of the dependencies
Internal API Changes
Many APIs around the dirstate have been made much stricter with regards to
locking and transaction handling
Some dirstate APIs have been renamed/removed
In both cases, you should get loud complaints in your tests if you do
something wrong.
Miscellaneous
pullbundle support no longer requires setting a server-side option,
providing a .hg/pullbundles.manifest according to the syntax specified \
in 'hg help -e clonebundles' is enough.
debug-delta-find: add a --source option
delta-find: add debug information about reuse of cached data
delta-find: set the default candidate chunk size to 10
attr: vendor 22.1.0
configitems: add a default value for "merge-tools.xxx.regappend"
debugrevlog: display total stored information
emitrevision: if we need to compute a delta on the fly, try p1 or p2 first
emitrevision: consider ancestors revision to emit as available base
find-delta: pass the cache-delta usage policy alongside the cache-delta
delta-find: use a smarter object for snapshot caching
delta-find: use sets instead of list in the snapshot cache
delta-find: make sure we only use newer full snapshot as candidate
delta-find: use a single snapshot cache when applying a group to an object
bundleoperation: optionnaly record the remote that produced the bundle
bundle: when forcing acceptance of incoming delta also accept snapshot
bundle: emit full snapshot as is, without doing a redelta
pathutil: slightly faster path audit in the common case
merge: don't pay for pathconflicts if there are none
merge: short-circuit the _checkfs loop upon getting ENOENT
merge: disable the whole filesystem access loop if [_realfs] is false
merge: cache the fs checks made during [_checkunknownfiles]
rust: use logging_timer instead of micro_timer
rust: run cargo clippy
makefile: add cargo clippy to tests if cargo is available
heptapod-ci: add clippy to the CI
convert: use a priority queue for sorting commits, to make sorting faster
delta-find: adjust the default candidate group chunk size
delta-find: declare the "paths..*:pulled-delta-reuse-policy option
|
2023-03-07 12:31:50 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-mercurial: update to 6.3.3.
Changes: not found, but many test failures fixed.
|