diff options
Diffstat (limited to 'ranger/ext/vcs/hg.py')
-rw-r--r-- | ranger/ext/vcs/hg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/ext/vcs/hg.py b/ranger/ext/vcs/hg.py index b8731dbf..de723878 100644 --- a/ranger/ext/vcs/hg.py +++ b/ranger/ext/vcs/hg.py @@ -124,7 +124,7 @@ class Hg(Vcs): def reset(self, filelist=None): """Removes files from the index""" - if filelist == None: filelist = self.get_status_allfiles().keys() + if filelist == None: filelist = self.get_status_subpaths().keys() self._hg(self.path, ['forget'] + filelist) @@ -154,7 +154,7 @@ class Hg(Vcs): # Data Interface #--------------------------- - def get_status_allfiles(self): + def get_status_subpaths(self): """Returns a dict indexed by files not in sync their status as values. Paths are given relative to the root. Strips trailing '/' from dirs.""" raw = self._hg(self.path, ['status'], catchout=True, bytes=True) @@ -175,7 +175,7 @@ class Hg(Vcs): return set(L) - def get_remote_status(self): + def get_status_remote(self): """Checks the status of the repo regarding sync state with remote branch""" if self.get_remote() == None: return "none" |