974
I Use This!
Activity Not Available

News

Analyzed 3 months ago. based on code collected over 4 years ago.
Posted 12 months ago by Raphaël Gomès
changeset 6b916efe6af6 branch default bookmark @ ... [More] tag tip user Raphaël Gomès description branching: merge stable into default files tests/test-clonebundles.t [Less]
Posted 12 months ago by Raphaël Gomès
changeset de2102390910 branch stable bookmark ... [More] tag user Raphaël Gomès description relnotes: add 6.4.2 files relnotes/6.4 [Less]
Posted 12 months ago by Raphaël Gomès
changeset f65f818b9642 branch stable bookmark ... [More] tag user Raphaël Gomès description Added signature for changeset f952be90b051 files .hgsigs [Less]
Posted 12 months ago by Raphaël Gomès
changeset 98ddff854d8a branch stable bookmark ... [More] tag user Raphaël Gomès description Added tag 6.4.2 for changeset f952be90b051 files .hgtags [Less]
Posted 12 months ago by Pierre-Yves David
changeset f952be90b051 branch stable bookmark ... [More] tag 6.4.2 user Pierre-Yves David description revlog-split: make sure the self._indexfile attribut is reset (issue6811) Before this change, after a transaction committing a file split, a revlog object would have its `self._indexfile` attribute desynchronised from the actual file storing the data. If that same object is reused (as we do for the manifest during clone bundles), this lead to the data being writting in the wrong location and the repository to go corrupt. We not properly reset the attribut when applicable and everything is back in working order. files mercurial/revlog.pytests/test-clonebundles.t [Less]
Posted 12 months ago by Pierre-Yves David
changeset f952be90b051 branch stable bookmark ... [More] tag tip user Pierre-Yves David description revlog-split: make sure the self._indexfile attribut is reset (issue6811) Before this change, after a transaction committing a file split, a revlog object would have its `self._indexfile` attribute desynchronised from the actual file storing the data. If that same object is reused (as we do for the manifest during clone bundles), this lead to the data being writting in the wrong location and the repository to go corrupt. We not properly reset the attribut when applicable and everything is back in working order. files mercurial/revlog.pytests/test-clonebundles.t [Less]
Posted 12 months ago by Pierre-Yves David
changeset 54f68495ab2a branch stable bookmark ... [More] tag user Pierre-Yves David description revlog-split: show manifest data loss situation when using clonebundle After the commit of the transaction from applying the clone bundle, changes to the manifest from the subsequent pull would write index data in the wrong file. This lead to data being "lost" after the pull and the repository to be corrupted. We add a test checking this specific scenario. In practice, the issue only affects the manifest but we also test the issue with a file for future proofing things up. See test documentation and failure for details. files tests/test-clonebundles.t [Less]
Posted 12 months ago by Pierre-Yves David
changeset 2bb2a1ff4d8f branch stable bookmark ... [More] tag user Pierre-Yves David description revlog-split: also check a case where bundle contains multiple changegroup This case is not affected, we remains in the same transaction. However it seems important to improve the test coverage around these "features". It also helped to assert the scop of the critical bug. files tests/test-bundle2-multiple-changegroups.t [Less]
Posted 12 months ago by pacien
changeset be676c313c7b branch default bookmark @ ... [More] tag tip user pacien description nix: add nix-defined package and devel env (flake) This adds a Nix Flake which defines: - package recipies to build and run Mercurial (C, C+Rust variants), - a meta package to run the test suite in an isolated sandbox, - a development environment with some tools (notably Python and the Black formatter, pinned to match the CI). Python is pinned to the recommended version. The Rust toolchain is a fairly recent one provided by the Nixpkgs channel. It is not yet pinned to the same version as the "reference" Debian package, but this does not seem to cause any issue. Example usage of local commands are provided in the `flake.nix` file. Once merged, it should also be possible to pull and run directly from the source repository directly with something like: `nix run hg+https://foss.heptapod.net/mercurial/mercurial-devel?ref=TOPIC&dir=contrib/nix' -- version` files contrib/nix/flake.lockcontrib/nix/flake.nix [Less]
Posted 12 months ago by pacien
changeset 0729d011c542 branch bookmark ... [More] tag user pacien description tests: add test ignore list for nix Some tests cannot run properly in the nix sandbox. This adds a list of tests to ignore when running in that context. files tests/blacklists/nix [Less]