From b3e541d5986b60eeb724c49637425fb83a90f314 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Wed, 19 Oct 2011 10:21:23 -0500 Subject: [PATCH] don't even try to source vcscommand.vim again --- plugin/vcsbzr.vim | 4 +++- plugin/vcscvs.vim | 4 +++- plugin/vcsgit.vim | 4 +++- plugin/vcshg.vim | 4 +++- plugin/vcssvk.vim | 4 +++- plugin/vcssvn.vim | 4 +++- 6 files changed, 18 insertions(+), 6 deletions(-) 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 -- 2.11.4.GIT