You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent OS upgrade, I've been having issues with my bash status line rendering very slowly while navigating around mercurial repositories.
I don't have a complete understanding of why this was not an issue before the upgrade. However, I have traced part of the problem to a temporary file that mercurial is creating/deleting in the .hg folder on every status operation. This invalidates powerline's VCS tree status cache and causes it to re-run the full status on every render.
I suspect there may be other contributing factors, but I'll submit a patch for ignoring the temporary files. Status is still noticeably slow when any file changes, but this at least makes the segment usable again for me.
Environment:
Latest git version of powerline (8af6302)
Linux / Ubuntu 22.04
Python 3.10.4
Mercurial 6.1.1
hglib 2.6.2
inotify watcher
The text was updated successfully, but these errors were encountered:
benjunmun
pushed a commit
to benjunmun/powerline
that referenced
this issue
May 23, 2022
Mercurial creates temporary files in the .hg directory while running
certain commands. The creation of these should not invalidate the tree
status cache for the repository.
Fixespowerline#2206
After a recent OS upgrade, I've been having issues with my bash status line rendering very slowly while navigating around mercurial repositories.
I don't have a complete understanding of why this was not an issue before the upgrade. However, I have traced part of the problem to a temporary file that mercurial is creating/deleting in the .hg folder on every status operation. This invalidates powerline's VCS tree status cache and causes it to re-run the full status on every render.
I suspect there may be other contributing factors, but I'll submit a patch for ignoring the temporary files. Status is still noticeably slow when any file changes, but this at least makes the segment usable again for me.
Environment:
Latest git version of powerline (8af6302)
Linux / Ubuntu 22.04
Python 3.10.4
Mercurial 6.1.1
hglib 2.6.2
inotify watcher
The text was updated successfully, but these errors were encountered: