Permalink
Browse files

Version 0.46

- Support for tinykeymap (move paragraph)- Moved para_move to autoload/tinykeymap/map- tlib#vcs: some "diff" commands were defined as "ls"; updated hg def; %s is optionalMD5 checksum: f2f2fe0893e75bb9423c1ddcd01f38f6
  • Loading branch information...
1 parent 88157e7 commit 8f2fdc8abcb1cb71fc1e6afb087c07f03c447e56 @tomtom tomtom committed with Sep 16, 2012
Showing with 14 additions and 9 deletions.
  1. +11 −6 autoload/tlib/vcs.vim
  2. +3 −3 plugin/02tlib.vim
View
@@ -2,8 +2,8 @@
" @Author: Tom Link (mailto:micathom AT gmail com?subject=[vim])
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2012-03-08.
-" @Last Change: 2012-06-11.
-" @Revision: 115
+" @Last Change: 2012-09-10.
+" @Revision: 122
" A dictionarie of supported VCS (currently: git, hg, svn, bzr).
@@ -16,15 +16,16 @@ TLet g:tlib#vcs#def = {
\ },
\ 'hg': {
\ 'dir': '.hg',
- \ 'ls': 'hg diff -U0 %s',
+ \ 'diff': 'hg diff -U0 %s',
+ \ 'ls': 'hg manifest'
\ },
\ 'svn': {
\ 'dir': '.svn',
- \ 'ls': 'svn diff --diff-cmd diff --extensions -U0 %s',
+ \ 'diff': 'svn diff --diff-cmd diff --extensions -U0 %s',
\ },
\ 'bzr': {
\ 'dir': '.bzr',
- \ 'ls': 'bzr diff --diff-options=-U0 %s',
+ \ 'diff': 'bzr diff --diff-options=-U0 %s',
\ }
\ }
@@ -118,7 +119,11 @@ function! tlib#vcs#Ls(...) "{{{3
if !empty(ls)
let rootdir = fnamemodify(vcsdir, ':p:h:h')
" TLogVAR vcsdir, rootdir
- let cmd = printf(ls, shellescape(rootdir))
+ if ls =~ '%s'
+ let cmd = printf(ls, shellescape(rootdir))
+ else
+ let cmd = ls
+ endif
" TLogVAR cmd
let filess = system(cmd)
" TLogVAR filess
View
@@ -3,8 +3,8 @@
" @Website: http://www.vim.org/account/profile.php?user_id=4037
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2007-04-10.
-" @Last Change: 2012-05-11.
-" @Revision: 678
+" @Last Change: 2012-09-16.
+" @Revision: 679
" GetLatestVimScripts: 1863 1 tlib.vim
if &cp || exists("loaded_tlib")
@@ -14,7 +14,7 @@ if v:version < 700 "{{{2
echoerr "tlib requires Vim >= 7"
finish
endif
-let loaded_tlib = 45
+let loaded_tlib = 46
let s:save_cpo = &cpo
set cpo&vim

0 comments on commit 8f2fdc8

Please sign in to comment.