diff options
author | nfnty <git@nfnty.se> | 2015-12-20 11:59:45 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2016-02-08 04:43:04 +0100 |
commit | 464986684615c8baf24b1dfb13bc150f10a38746 (patch) | |
tree | 4acc8891fd6940fbb8e93405ad814521a4e3aefd /ranger | |
parent | 6cea653f5bab9c396f4ea883a93d965ac01be154 (diff) | |
download | ranger-464986684615c8baf24b1dfb13bc150f10a38746.tar.gz |
VCS: Implement GNU Bazaar: Disable data_status_remote for performance
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/vcs/bzr.py | 16 |
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: |