mirror of
https://github.com/powerline/powerline.git
synced 2025-07-19 20:04:56 +02:00
Do not forget to collect mercurial servers
Current variant spawns way too many hg instances which are not collected until Vim exits.
This commit is contained in:
parent
d4d6bca2d0
commit
0a2359848a
@ -63,7 +63,7 @@ class Repository(object):
|
||||
return self.do_status(self.directory, path)
|
||||
|
||||
def do_status(self, directory, path):
|
||||
repo = self._repo(directory)
|
||||
with self._repo(directory) as repo:
|
||||
if path:
|
||||
path = os.path.join(directory, path)
|
||||
statuses = repo.status(include=path, all=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user