Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added documentation for new flags | M Rawash | 2011-12-11 | 1 | -1/+6 | |
| | ||||||
* | core.main: added --selectfile option | David Pugnasse | 2011-10-24 | 1 | -0/+3 | |
| | ||||||
* | The hard work of the electrons must be respected. v1.5.2 | hut | 2011-10-24 | 1 | -1/+1 | |
| | ||||||
* | The hard work of the computer must be respected. v1.5.1 | hut | 2011-10-24 | 1 | -1/+1 | |
| | ||||||
* | Removed duplicate link in man page (a pod2man fuckup) | hut | 2011-10-21 | 1 | -2/+2 | |
| | ||||||
* | core.actions: added --choosefiles option + doc | hut | 2011-10-21 | 1 | -2/+7 | |
| | ||||||
* | Rebuild man page | hut | 2011-10-11 | 1 | -2/+2 | |
| | ||||||
* | fixed some documentation | hut | 2011-10-10 | 1 | -3/+4 | |
| | ||||||
* | Revert "ranger.1: added doc for --dont-copy-config" | hut | 2011-10-09 | 1 | -4/+5 | |
| | | | | This reverts commit b62f5fbe203414521461e30e70af243dc257c49c. | |||||
* | ranger.__init__, ranger.1: updated rangers description | hut | 2011-10-08 | 1 | -3/+3 | |
| | ||||||
* | Updated man page | hut | 2011-10-08 | 1 | -12/+6 | |
| | ||||||
* | ranger.1: added doc for --dont-copy-config | hut | 2011-10-08 | 1 | -5/+4 | |
| | ||||||
* | Write "ranger" with a lowercase "r" | hut | 2011-10-08 | 1 | -2/+2 | |
| | ||||||
* | updated manpage and config_examples/rc.conf | hut | 2011-10-08 | 1 | -1/+4 | |
| | ||||||
* | general updates | hut | 2011-10-08 | 1 | -5/+10 | |
| | ||||||
* | manpage: update | hut | 2011-10-05 | 1 | -15/+16 | |
| | ||||||
* | defaults/commands: added cunmap, punmap, tunmap | hut | 2011-10-05 | 1 | -4/+34 | |
| | ||||||
* | Changed version to 1.5.0 | hut | 2011-10-02 | 1 | -1/+1 | |
| | ||||||
* | doc/ranger.1: updated manpage | hut | 2011-10-01 | 1 | -45/+70 | |
| | ||||||
* | doc/ranger.1: added missing documentation | hut | 2011-09-29 | 1 | -4/+121 | |
| | ||||||
* | core.main: added --list-unused-keys option | hut | 2011-09-29 | 1 | -1/+6 | |
| | ||||||
* | another correction of the bash wrapper scripts | hut | 2011-09-28 | 1 | -2/+3 | |
| | ||||||
* | sanitized bash wrapper scripts, reformulated BUGS section in manual | hut | 2011-09-28 | 1 | -6/+6 | |
| | ||||||
* | improved bash wrappers in ranger.py and man page | hut | 2011-09-28 | 1 | -11/+13 | |
| | ||||||
* | documented and improved DaPangus' changes | hut | 2011-09-25 | 1 | -3/+2 | |
| | ||||||
* | extended manpage and fixed {load,save}_copy_buffer commands | hut | 2011-09-25 | 1 | -25/+39 | |
| | ||||||
* | doc/ranger.pod: extended the man page | hut | 2011-09-24 | 1 | -62/+384 | |
| | ||||||
* | Overhauled manpage. It's in POD format now. | hut | 2011-09-24 | 1 | -194/+383 | |
| | ||||||
* | This gonna be cool once it's finished v1.4.3 | hut | 2011-04-05 | 1 | -1/+1 | |
| | ||||||
* | Improved manpage | hut | 2011-04-03 | 1 | -4/+5 | |
| | ||||||
* | Next version will run on pure Lisp Machines only v1.4.2 | hut | 2011-03-05 | 1 | -1/+1 | |
| | ||||||
* | If ranger won't run, you still got peanut butter to live for. v1.4.1 | hut | 2011-01-04'%Y-%m-%dT%H:%M:%S.%fZ', ) new['summary'] = entry.find('./msg').text.split('\n')[0] log.append(new) return log def _status_translate(self, code): """Translate status code""" for code_x, status in self._status_translations: if code in code_x: return status return 'unknown' def _remote_url(self): """Remote url""" try: output = self._run(['info', '--xml']) except VcsError: return None if not output: return None return etree.fromstring(output).find('./entry/url').text or None # Action Interface def action_add(self, filelist=None): args = ['add'] if filelist: args += ['--'] + filelist self._run(args, catchout=False) def action_reset(self, filelist=None): args = ['revert', '--'] if filelist: args += filelist else: args += self.rootvcs.status_subpaths.keys() # pylint: disable=no-member self._run(args, catchout=False) # Data Interface def data_status_root(self): statuses = set() # Paths with status lines = self._run(['status']).split('\n') if not lines: return 'sync' for line in lines: code = line[0] if code == ' ': continue statuses.add(self._status_translate(code)) for status in self.DIRSTATUSES: if status in statuses: return status return 'sync' def data_status_subpaths(self): statuses = {} # Paths with status lines = self._run(['status']).split('\n') for line in lines: code, path = line[0], line[8:] if code == ' ': continue statuses[os.path.normpath(path)] = self._status_translate(code) return statuses def data_status_remote(self): remote = self._remote_url() if remote is None or remote.startswith('file://'): return 'none' return 'unknown' def data_branch(self): return None def data_info(self, rev=None): if rev is None: rev = self.HEAD log = self._log(refspec=rev) if not log: if rev == self.HEAD: return None else: raise VcsError('Revision {0:s} does not exist'.format(rev)) elif len(log) == 1: return log[0] else: raise VcsError('More than one instance of revision {0:s}'.format(rev)) |