Browse files

refactor svn log separator.

  • Loading branch information...
1 parent 1969168 commit 4bfaba90c625fcfb05266fe79b06be734db3822a @hrsh7th committed Oct 5, 2012
Showing with 11 additions and 2 deletions.
  1. +9 −0 autoload/vcs/svn.vim
  2. +1 −1 autoload/vcs/svn/changeset.vim
  3. +1 −1 autoload/vcs/svn/log.vim
View
9 autoload/vcs/svn.vim
@@ -0,0 +1,9 @@
+let s:save_cpo = &cpo
+set cpo&vim
+
+let g:vcs#svn#log_separator = '------------------------------------------------------------------------'
+
+let &cpo = s:save_cpo
+unlet s:save_cpo
+
+
View
2 autoload/vcs/svn/changeset.vim
@@ -22,7 +22,7 @@ function! s:system(target, revision)
endfunction
function! s:str2list(str)
- return split(a:str, '------------------------------------------------------------------------')
+ return split(a:str, g:vcs#svn#log_separator)
endfunction
function! s:extract(list)
View
2 autoload/vcs/svn/log.vim
@@ -20,7 +20,7 @@ function! s:system(target)
endfunction
function! s:str2list(str)
- return split(a:str, '------------------------------------------------------------------------')
+ return split(a:str, g:vcs#svn#log_separator)
endfunction
function! s:extract(list)

0 comments on commit 4bfaba9

Please sign in to comment.