Show
Ignore:
Timestamp:
01/16/08 11:18:14 (6 years ago)
Author:
mattn
Message:

lang/vim/misc/svn_file_comment.vim:
thanks for drry's previous commit.
windowsでも動くように修正。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/vim/misc/svn_file_comment.vim

    r4645 r4665  
    2626    return 
    2727  endif 
    28   let lines=system("LANG=C svn info") 
     28  if has("windows") && !has("win32unix") 
     29    let oldlang=$LANG 
     30    let $LANG="C" 
     31    let lines=system("svn info") 
     32    let $LANG=oldlang 
     33  else 
     34    let lines=system("LANG=C svn info") 
     35  endif 
    2936  let url=substitute(lines, '.*\nURL: \([^\x0A]*\).*', '\1', '') 
    3037  let root=substitute(lines, '.*\nRepository Root: \([^\x0A]*\).*', '\1', '')