Perforce and SVN Vim script fixes.
[profile.git] / .vim / script / svn
index 0eedff1..175f4fb 100644 (file)
@@ -33,6 +33,9 @@ endfun
 let s:cmdheight = &cmdheight
 se cmdheight=3
 
+" Change directory so "file [svn diff]" doesn't try to cd somewhere.
+cd /
+
 " Call and then discard our function.
 call SVNcommit()
 delfunction SVNcommit