about summary refs log tree commit diff stats
path: root/doc/ranger.1
Commit message (Collapse)AuthorAgeFilesLines
...
* Added documentation for new flagsM Rawash2011-12-111-1/+6
|
* core.main: added --selectfile optionDavid Pugnasse2011-10-241-0/+3
|
* The hard work of the electrons must be respected. v1.5.2hut2011-10-241-1/+1
|
* The hard work of the computer must be respected. v1.5.1hut2011-10-241-1/+1
|
* Removed duplicate link in man page (a pod2man fuckup)hut2011-10-211-2/+2
|
* core.actions: added --choosefiles option + dochut2011-10-211-2/+7
|
* Rebuild man pagehut2011-10-111-2/+2
|
* fixed some documentationhut2011-10-101-3/+4
|
* Revert "ranger.1: added doc for --dont-copy-config"hut2011-10-091-4/+5
| | | | This reverts commit b62f5fbe203414521461e30e70af243dc257c49c.
* ranger.__init__, ranger.1: updated rangers descriptionhut2011-10-081-3/+3
|
* Updated man pagehut2011-10-081-12/+6
|
* ranger.1: added doc for --dont-copy-confighut2011-10-081-5/+4
|
* Write "ranger" with a lowercase "r"hut2011-10-081-2/+2
|
* updated manpage and config_examples/rc.confhut2011-10-081-1/+4
|
* general updateshut2011-10-081-5/+10
|
* manpage: updatehut2011-10-051-15/+16
|
* defaults/commands: added cunmap, punmap, tunmaphut2011-10-051-4/+34
|
* Changed version to 1.5.0hut2011-10-021-1/+1
|
* doc/ranger.1: updated manpagehut2011-10-011-45/+70
|
* doc/ranger.1: added missing documentationhut2011-09-291-4/+121
|
* core.main: added --list-unused-keys optionhut2011-09-291-1/+6
|
* another correction of the bash wrapper scriptshut2011-09-281-2/+3
|
* sanitized bash wrapper scripts, reformulated BUGS section in manualhut2011-09-281-6/+6
|
* improved bash wrappers in ranger.py and man pagehut2011-09-281-11/+13
|
* documented and improved DaPangus' changeshut2011-09-251-3/+2
|
* extended manpage and fixed {load,save}_copy_buffer commandshut2011-09-251-25/+39
|
* doc/ranger.pod: extended the man pagehut2011-09-241-62/+384
|
* Overhauled manpage. It's in POD format now.hut2011-09-241-194/+383
|
* This gonna be cool once it's finished v1.4.3hut2011-04-051-1/+1
|
* Improved manpagehut2011-04-031-4/+5
|
* Next version will run on pure Lisp Machines only v1.4.2hut2011-03-051-1/+1
|
* If ranger won't run, you still got peanut butter to live for. v1.4.1hut2011-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))