From: Bob Hiestand Date: Wed, 19 Oct 2011 15:21:23 +0000 (-0500) Subject: don't even try to source vcscommand.vim again X-Git-Tag: v1.99.45^0 X-Git-Url: https://repo.or.cz/w/vcscommand.git/commitdiff_plain/b3e541d5986b60eeb724c49637425fb83a90f314 don't even try to source vcscommand.vim again --- diff --git a/plugin/vcsbzr.vim b/plugin/vcsbzr.vim index 51505fe..966f2ee 100644 --- a/plugin/vcsbzr.vim +++ b/plugin/vcsbzr.vim @@ -43,7 +43,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandBZRExec', 'bzr')) " BZR is not installed diff --git a/plugin/vcscvs.vim b/plugin/vcscvs.vim index 4f4a518..11c7433 100644 --- a/plugin/vcscvs.vim +++ b/plugin/vcscvs.vim @@ -89,7 +89,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandCVSExec', 'cvs')) " CVS is not installed diff --git a/plugin/vcsgit.vim b/plugin/vcsgit.vim index b440565..2667982 100644 --- a/plugin/vcsgit.vim +++ b/plugin/vcsgit.vim @@ -48,7 +48,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandGitExec', 'git')) " git is not installed diff --git a/plugin/vcshg.vim b/plugin/vcshg.vim index 0f37184..775ede0 100644 --- a/plugin/vcshg.vim +++ b/plugin/vcshg.vim @@ -50,7 +50,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandHGExec', 'hg')) " HG is not installed diff --git a/plugin/vcssvk.vim b/plugin/vcssvk.vim index f20e454..bee84c3 100644 --- a/plugin/vcssvk.vim +++ b/plugin/vcssvk.vim @@ -43,7 +43,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandSVKExec', 'svk')) " SVK is not installed diff --git a/plugin/vcssvn.vim b/plugin/vcssvn.vim index ecc2543..8ad6388 100644 --- a/plugin/vcssvn.vim +++ b/plugin/vcssvn.vim @@ -50,7 +50,9 @@ if v:version < 700 finish endif -runtime plugin/vcscommand.vim +if !exists('g:loaded_VCSCommand') + runtime plugin/vcscommand.vim +endif if !executable(VCSCommandGetOption('VCSCommandSVNExec', 'svn')) " SVN is not installed