From 464986684615c8baf24b1dfb13bc150f10a38746 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sun, 20 Dec 2015 11:59:45 +0100 Subject: VCS: Implement GNU Bazaar: Disable data_status_remote for performance --- ranger/ext/vcs/bzr.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ranger/ext/vcs/bzr.py b/ranger/ext/vcs/bzr.py index 49ce8b34..aa7112dc 100644 --- a/ranger/ext/vcs/bzr.py +++ b/ranger/ext/vcs/bzr.py @@ -117,21 +117,7 @@ class Bzr(Vcs): if not self._remote_url(): return 'none' - # XXX: Find a local solution - ahead = behind = False - try: - self._bzr(['missing', '--mine-only'], catchout=False) - except VcsError: - ahead = True - try: - self._bzr(['missing', '--theirs-only'], catchout=False) - except VcsError: - behind = True - - if ahead: - return 'diverged' if behind else 'ahead' - else: - return 'behind' if behind else 'sync' + return 'unknown' def data_branch(self): try: -- cgit 1.4.1-2-gfad0