cmder icon indicating copy to clipboard operation
cmder copied to clipboard

On large svn repo prompt with svn status enabled can be slow

Open Mikaz-fr opened this issue 2 years ago • 4 comments

Similarly to #2548 and #1566, on large svn repo fetching the status delay slightly the command prompt display.

I recently updated to Cmder 1.3.19 and was thrilled to see that git status can now be fetched asynchronously using recent clink feature (integrated via #2556). Is there any plan to provide the same for svn ?

It's good now we can disable in the option the svn status, but having it asynchronously would be even better.

Mikaz-fr avatar May 24 '22 16:05 Mikaz-fr

There wasn't any plan to do so, because no one had identified it as being a problem that needed solving. 🙃

It's not hard to do. Someone could make the Lua script tweaks and submit a PR.

(I'll see about extending clink-flex-prompt accordingly. Someone could port from there to Cmder. Or if I find myself with extra time, then maybe at some point I can also provide a patch for Cmder, but that's not a priority for me.)

chrisant996 avatar May 24 '22 16:05 chrisant996

I've made an attempt to solve this for svn similarly to how it's done for git. I've open pull request #2703. Please let me know if you would have done that differently.

Mikaz-fr avatar May 25 '22 13:05 Mikaz-fr

The changes look good to me!

chrisant996 avatar May 25 '22 17:05 chrisant996

Awesome. Feel free to close once PR is merged. Will get the next release with this feature :)

Mikaz-fr avatar May 30 '22 08:05 Mikaz-fr

This change is now part of release https://github.com/cmderdev/cmder/releases/tag/v1.3.20. This issue can be closed.

Mikaz-fr avatar Oct 18 '22 14:10 Mikaz-fr