Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix svn commit message.

  • Loading branch information...
commit 9e46086e38ae4f6c11cb583b19a161a84c9a8b7e 1 parent 5ac121f
@hrsh7th authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/vcs/svn/commit.vim
View
4 autoload/vcs/svn/commit.vim
@@ -18,6 +18,7 @@ function! vcs#svn#commit#do(args)
augroup VimUniteVcsSvnCommit
autocmd!
autocmd! BufWinEnter <buffer> setlocal bufhidden=wipe nobuflisted noswapfile
+ autocmd! BufWritePre <buffer> execute '%s/' . g:vcs#svn#commit_ignore . '\_.*//g'
autocmd! BufWinLeave <buffer> call s:commit()
augroup END
endfunction
@@ -53,6 +54,9 @@ function! s:commit()
let s:files = []
endfunction
+function! s:trim_msgfile()
+endfunction
+
function! s:make_msgfile()
let root = vcs#vcs('root', s:files)
let save = getcwd()
Please sign in to comment.
Something went wrong with that request. Please try again.