-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add diff support for mercurial (hg) repos #9372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
We don't want to support any VCS other than |
Oh, I see. In the meantime I'll keep using my fork then :) |
I think we should at least take a look, @kirawi's tone was too strong here. I like how small the implementation is but I wonder about performance |
Sorry about that, I misremembered this (thought you were totally against it): https://matrix.to/#/!zMuVRxoqjyxyjSEBXc:matrix.org/$mish8TCtq3pO9r2Rr0V9IH7c3PG89aDKroXpvW5DhsA?via=matrix.org&via=mozilla.org&via=envs.net |
I am sceptic about merging support for other VCS into core
|
Thanks for all your comments. I understand this would add additional maintenance burden. And the fact that it requires I don't mind reimplementing this as a plugin when that eventually becomes available. It would be a nice-to-have if those could run asynchronously to avoid seeing some of the latency when shelling out. Until then I'll keep applying my patches and try to keep up with the stable releases. FYI @archseer I did some benchmarks on my machine (i5-1135G7) and saw that running an So anyway, thanks for your time and I'm looking forward to the plugin system :) |
Adds diff and branch name support for mercurial (hg) repositories.
I'm using the rhg command for faster execution, but that is currently not installed by default.
The speed-up brings it down from ~750ms overhead on startup to ~50ms, so definitely noticeable.
But it breaks the portability for users or systems that only have the commonly used
hg
command installed.Perhaps a config option might allow the user to decide to use the faster
rhg
or fall back tohg
?