##// END OF EJS Templates
rust: blanket implementation of Graph for Graph references...
rust: blanket implementation of Graph for Graph references The need comes from the fact that `AncestorsIterator` and many Graph-related algorithms take ownership of the `Graph` they work with. This, in turn is due to them needing to accept the `Index` instances that are provided by the Python layers (that neither rhg nor `RHGitaly` use, of course): the fact that nowadays the Python layer holds an object that is itself implemented in Rust does not change the core problem that they cannot be tracked by the borrow checker. Even though it looks like cloning `Changelog` would be cheap, it seems hard to guarantee that on the long run. The object is already too rich for us to be comfortable with it, when using references is the most natural and guaranteed way of proceeding. The added test seems a bit superfleous, but it will act as a reminder that this feature is really useful until something in the Mercurial code base actually uses it.

File last commit:

r52332:e84975e4 stable
r52512:b08c5fbe stable
Show More
next
18 lines | 295 B | text/plain | TextLexer
Raphaël Gomès
relnotes: add 6.1...
r49659 = Mercurial XXX =
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457 == New Features ==
bookmarks: move the `mirror` option to the `paths` section...
r49056
relnode: document the move to `zstd` as default compression...
r47762 == Default Format Change ==
Raphaël Gomès
relnotes: add 6.1...
r49659 These changes affect newly created repositories (or new clones) done with
Mercurial XXX.
relnote: document the use of persistent-nodemap by default for Rust build...
r47763
Martin von Zweigbergk
copy: add experimental support for marking committed copies...
r44847 == New Experimental Features ==
Martin von Zweigbergk
revset: add a revset for parents in merge state...
r44817
Manuel Jacob
relnotes: add release notes for relevant changes I did since the 5.4 release...
r45764 == Bug Fixes ==
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457 == Backwards Compatibility Changes ==
== Internal API Changes ==
Raphaël Gomès
relnotes: add 6.1...
r49659 == Miscellaneous ==