summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2015-12-20 11:59:45 +0100
committernfnty <git@nfnty.se>2016-02-08 04:43:04 +0100
commit464986684615c8baf24b1dfb13bc150f10a38746 (patch)
tree4acc8891fd6940fbb8e93405ad814521a4e3aefd /ranger
parent6cea653f5bab9c396f4ea883a93d965ac01be154 (diff)
downloadranger-464986684615c8baf24b1dfb13bc150f10a38746.tar.gz
VCS: Implement GNU Bazaar: Disable data_status_remote for performance
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/vcs/bzr.py16
1 files changed, 1 insertions, 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: