This is an archive of the discontinued Mercurial Phabricator instance.

relnotes: advertize the possibility to use rust
ClosedPublic

Authored by valentin.gatienbaron on May 30 2020, 12:56 PM.

Details

Summary

I think the rust work may have been mentioned in the release notes,
but if so only in passing, and not as an invitation to try it out.

I think the next version is a decent time to do this, because the rust
doesn't come with performance regressions AFAIK, speeds up status
noticeably when it applies, which is the case for most invocations of
status, and doesn't have the undesirable restriction of regex around
empty patterns anymore.

I am cheating a bit, because I'm giving numbers for hg status in
mozilla-central, but they have one hgignore pattern that uses
lookaround, ".vscode/(?!extensions\.json|tasks\.json", which I took
out as it would cause a fallback to python when unknown files are
requested. But it seems that they could express their hgignore
differently if they were so inclined.

Not sure if there are limitation other than linux-only that I am
not thinking of but would be worth mentioning upfront, to avoid
disappointing users?

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.