r1289 - in /trunk/packages/vim-scripts: debian/changelog debian/vim-scripts.status doc/vcscommand.txt html/index.html html/plugin_vcscommand.vim.html plugin/vcscommand.vim plugin/vcscvs.vim plugin/vcsgit.vim plugin/vcssvk.vim plugin/vcssvn.vim

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Fri Dec 5 19:01:10 UTC 2008


Author: jamessan
Date: Fri Dec  5 19:01:10 2008
New Revision: 1289

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1289
Log:
Update vcscommand

Modified:
    trunk/packages/vim-scripts/debian/changelog
    trunk/packages/vim-scripts/debian/vim-scripts.status
    trunk/packages/vim-scripts/doc/vcscommand.txt
    trunk/packages/vim-scripts/html/index.html
    trunk/packages/vim-scripts/html/plugin_vcscommand.vim.html
    trunk/packages/vim-scripts/plugin/vcscommand.vim
    trunk/packages/vim-scripts/plugin/vcscvs.vim
    trunk/packages/vim-scripts/plugin/vcsgit.vim
    trunk/packages/vim-scripts/plugin/vcssvk.vim
    trunk/packages/vim-scripts/plugin/vcssvn.vim

Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Fri Dec  5 19:01:10 2008
@@ -1,7 +1,7 @@
 vim-scripts (20081205-1) UNRELEASED; urgency=low
 
   * Updated addons:
-    - supertab, NERD_commenter, xmledit (Closes: #503707)
+    - supertab, NERD_commenter, xmledit (Closes: #503707), vcscommand
   * Renamed addons:
     - themes => color_sample_pack
 

Modified: trunk/packages/vim-scripts/debian/vim-scripts.status
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-scripts.status?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-scripts.status (original)
+++ trunk/packages/vim-scripts/debian/vim-scripts.status Fri Dec  5 19:01:10 2008
@@ -136,10 +136,10 @@
 author:      Robert Hiestand
 author_url:  http://www.vim.org/account/profile.php?user_id=241
 email:       bob.hiestand at gmail.com
-license:     public domain
+license:     license[7], see below
 extras:	     doc/vcscommand.txt, plugin/vcscvs.vim, plugin/vcsgit.vim, plugin/vcssvn.vim, plugin/vcssvk.vim, syntax/CVSAnnotate.vim, syntax/SVNAnnotate.vim, syntax/SVKAnnotate.vim, syntax/vcscommit.vim
-disabledby:  let loaded_VCSCommand = 1
-version:     beta 26
+disabledby:  let VCSCommandDisableAll = 1
+version:     beta28
 
 script_name: plugin/utl.vim
 addon:       utl
@@ -557,3 +557,22 @@
  it and/or modify it under the terms of the Do What The Fuck You
  Want To Public License, Version 2, as published by Sam Hocevar.
  See http://sam.zoy.org/wtfpl/COPYING for more details
+
+license [7]
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.

Modified: trunk/packages/vim-scripts/doc/vcscommand.txt
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/doc/vcscommand.txt?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/doc/vcscommand.txt (original)
+++ trunk/packages/vim-scripts/doc/vcscommand.txt Fri Dec  5 19:01:10 2008
@@ -354,15 +354,25 @@
 
 						*vcscommand-mappings-override*
 
-The default mappings can be overriden by user-provided instead by mapping to
+The default mappings can be overridden by user-provided instead by mapping to
 <Plug>CommandName.  This is especially useful when these mappings collide with
 other existing mappings (vim will warn of this during plugin initialization,
 but will not clobber the existing mappings).
 
-For instance, to override the default mapping for :VCSAdd to set it to '\add',
-add the following to the vimrc:
+There are three methods for controlling mapping:
+
+First, maps can be overriden for individual commands.  For instance, to
+override the default mapping for :VCSAdd to set it to '\add', add the
+following to the vimrc:
 
 nmap \add <Plug>VCSAdd
+
+Second, the default map prefix ('<Leader>c') can be overridden by defining the
+|VCSCommandMapPrefix| variable.
+
+Third, the entire set of default maps can be overridden by defining the
+|VCSCommandMappings| variable.
+
 
 4.3 Automatic buffer variables			*vcscommand-buffer-variables*
 
@@ -414,10 +424,13 @@
 |VCSCommandCVSExec|
 |VCSCommandDeleteOnHide|
 |VCSCommandDiffSplit|
+|VCSCommandDisableAll|
 |VCSCommandDisableMappings|
 |VCSCommandDisableExtensionMappings|
 |VCSCommandEdit|
 |VCSCommandEnableBufferSetup|
+|VCSCommandMappings|
+|VCSCommandMapPrefix|
 |VCSCommandResultBufferNameExtension|
 |VCSCommandResultBufferNameFunction|
 |VCSCommandSplit|
@@ -453,6 +466,12 @@
 This variable overrides the |VCSCommandSplit| variable, but only for buffers
 created with |:VCSVimDiff|.
 
+VCSCommandDisableAll				*VCSCommandDisableAll*
+
+This variable, if set, prevents the plugin or any extensions from loading at
+all.  This is useful when a single runtime distribution is used on multiple
+systems with varying versions.
+
 VCSCommandDisableMappings			*VCSCommandDisableMappings*
 
 This variable, if set to a non-zero value, prevents the default command
@@ -476,6 +495,19 @@
 'VCSCommandBufferInfo' variable is filled with version information if the file
 is VCS-controlled.  This is useful for displaying version information in the
 status bar.
+
+VCSCommandMappings				*VCSCommandMappings*
+
+This variable, if set, overrides the default mappings used for shortcuts.  It
+should be a List of 2-element Lists, each containing a shortcut and function
+name pair.  The value of the '|VCSCommandMapPrefix|' variable will be added to
+each shortcut.
+
+VCSCommandMapPrefix				*VCSCommandMapPrefix*
+
+This variable, if set, overrides the default mapping prefix ('<Leader>c').
+This allows customization of the mapping space used by the vcscommand
+shortcuts.
 
 VCSCommandResultBufferNameExtension	*VCSCommandResultBufferNameExtension*
 
@@ -507,7 +539,8 @@
 If set to 'horizontal', the resulting windows will be on stacked on top of
 one another.  If set to 'vertical', the resulting windows will be
 side-by-side.  If not set, it defaults to 'horizontal' for all but
-VCSVimDiff windows.
+VCSVimDiff windows.  VCSVimDiff windows default to the user's 'diffopt'
+setting, if set, otherwise 'vertical'.
 
 VCSCommandSVKExec				*VCSCommandSVKExec*
 
@@ -712,7 +745,7 @@
 
 ==============================================================================
 
-7. Changes from cvscommandi				*cvscommand-changes*
+7. Changes from cvscommand				*cvscommand-changes*
 
 1.  Require Vim 7 in order to leverage several convenient features; also
 because I wanted to play with Vim 7.

Modified: trunk/packages/vim-scripts/html/index.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/index.html?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/index.html (original)
+++ trunk/packages/vim-scripts/html/index.html Fri Dec  5 19:01:10 2008
@@ -51,7 +51,7 @@
    <li><a href="syntax_mkd.vim.html">syntax/mkd.vim.html</a></li>
   </ul>
   <p>
-  Page generated on Fri, 05 Dec 2008 13:44:05 -0500
+  Page generated on Fri, 05 Dec 2008 13:59:57 -0500
 .
   </p>
  </body>

Modified: trunk/packages/vim-scripts/html/plugin_vcscommand.vim.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/plugin_vcscommand.vim.html?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/plugin_vcscommand.vim.html (original)
+++ trunk/packages/vim-scripts/html/plugin_vcscommand.vim.html Fri Dec  5 19:01:10 2008
@@ -153,8 +153,8 @@
 <tr>
   <td class="lightbg"><b>&nbsp;script karma&nbsp;</b></td>
   <td>
-    Rating <b>1460/483</b>,
-    Downloaded by 21836  </td>
+    Rating <b>1695/549</b>,
+    Downloaded by 24885  </td>
 </tr>
 </table>
 <p>
@@ -204,300 +204,324 @@
     <th valign="top">release notes</th>
 </tr>
 <tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8827">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta 26</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2008-06-19</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">vcsgit:&nbsp;&nbsp;Set &ft correctly for VCSStatus buffers.
<br>
<br>vcsgit:&nbsp;&nbsp;Quote the blob name for VCSReview to handle paths with spaces.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8747">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta25</b></td>
-    <td class="roweven" valign="top" nowrap><i>2008-06-03</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">This fixes the&nbsp;&nbsp;'cdpath' error in git VCSReview and (2 argument) VCSVimDiff.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8709">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta24</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2008-05-20</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revert &quot;Call subversion with the '--non-interactive' switch to avoid locking up when authentication can't be prompted.&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use 'setlocal' instead of 'set' for all buffer option changes.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use 'enew' followed by 'file' instead of 'edit' when creating output buffers.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Don't execute autocommands when naming VCS command output buffers.
<br>
<br>This set of changes may avoid issues related to autocommands that execute when the command result buffer is opened.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8459">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta22</b></td>
-    <td class="roweven" valign="top" nowrap><i>2008-03-17</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added VCSCommandGitDescribeArgList option to control allowed modes of 'git describe' used in GetBufferInfo for git.&nbsp;&nbsp;This is a comma-separated list of arguments to try against git-describe.&nbsp;&nbsp;This is an attempt to have prioritized fallbacks of descriptions, and runs in order until it finds a valid description.&nbsp;&nbsp;This value defaults to ',tags,all,always', and so first searches annotated tags, then tags, then all references, then a commit description.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8435">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta21</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2008-03-11</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Tweaked buffer info for git buffers.
<br>
<br>Don't clobber &cp when testing for a vcs command.
<br>
<br>Added 'options' Dict to VCSCommandDoCommand for tweaking framework behavior.
<br>
<br>Allow non-zero vcs command exit status when 'allowNonZeroExit' option is passed to VCSCommandDoCommand.
<br>
<br>Implemented VCSStatus for git as (repository-wide) 'git status'.
<br>
<br>Converted to leading tab style.
<br>
<br>Distinguish between exact and inexact identifications by extensions.
<br>
<br>Mark git identification as inexact, so that using another VCS to control directories somewhere under a git-controlled directory does not identify the files incorrectly as git.
<br>
<br>Moved CHANGES.txt content into help file.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8210">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta20</b></td>
-    <td class="roweven" valign="top" nowrap><i>2008-02-01</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Implemented (first pass of) git support.
<br>
<br>Temporarily removed buffer status/command verification scheme.
<br>
<br>Save and restore 'foldlevel' with VCSVimDiff.
<br>
<br>Added VCSRemove as alias for VCSDelete.
<br>Added VCSBlame as alias for VCSAnnotate.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7435">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta19</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-07-31</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Load the plugin with nocompatible set, as it should have been done a few years ago.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7119">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta18</b></td>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=9279">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta28</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-09-24</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Add 'VCSCommandDisableAll' variable to prevent the plugin or any extensions from loading.
<br>
<br>vcssvn:&nbsp;&nbsp;prevent hangs caused by querying the user for input by specifying '--non-interactive' on the appropriate commands.
<br>
<br>Use &diffopt to seed the default DiffSplit orientation. (James Vega)
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=9278">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta28</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-09-24</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Add 'VCSCommandDisableAll' variable to prevent the plugin or any extensions from loading.
<br>
<br>vcssvn:&nbsp;&nbsp;prevent hangs caused by querying the user for input by specifying '--non-interactive' on the appropriate commands.
<br>
<br>Use &diffopt to seed the default DiffSplit orientation. (James Vega)
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=9188">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta27</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-08-28</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Shortcut / mapping configuration changes:
<br>
<br>Do not fail out of plugin at first failed mapping.&nbsp;&nbsp;Indicate mapping conflicts only if 'verbose' is set.
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<br>Add new option 'VCSCommandMapPrefix' for overriding the default prefix '&lt;Leader&gt;c' in mappings.
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<br>Add new option 'VCSCommandMappings' to completely override all default mappings.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8827">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta 26</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-06-19</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">vcsgit:&nbsp;&nbsp;Set &ft correctly for VCSStatus buffers.
<br>
<br>vcsgit:&nbsp;&nbsp;Quote the blob name for VCSReview to handle paths with spaces.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8747">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta25</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-06-03</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">This fixes the&nbsp;&nbsp;'cdpath' error in git VCSReview and (2 argument) VCSVimDiff.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8709">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta24</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-05-20</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Revert &quot;Call subversion with the '--non-interactive' switch to avoid locking up when authentication can't be prompted.&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use 'setlocal' instead of 'set' for all buffer option changes.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use 'enew' followed by 'file' instead of 'edit' when creating output buffers.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Don't execute autocommands when naming VCS command output buffers.
<br>
<br>This set of changes may avoid issues related to autocommands that execute when the command result buffer is opened.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8459">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta22</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-03-17</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added VCSCommandGitDescribeArgList option to control allowed modes of 'git describe' used in GetBufferInfo for git.&nbsp;&nbsp;This is a comma-separated list of arguments to try against git-describe.&nbsp;&nbsp;This is an attempt to have prioritized fallbacks of descriptions, and runs in order until it finds a valid description.&nbsp;&nbsp;This value defaults to ',tags,all,always', and so first searches annotated tags, then tags, then all references, then a commit description.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8435">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta21</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-03-11</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Tweaked buffer info for git buffers.
<br>
<br>Don't clobber &cp when testing for a vcs command.
<br>
<br>Added 'options' Dict to VCSCommandDoCommand for tweaking framework behavior.
<br>
<br>Allow non-zero vcs command exit status when 'allowNonZeroExit' option is passed to VCSCommandDoCommand.
<br>
<br>Implemented VCSStatus for git as (repository-wide) 'git status'.
<br>
<br>Converted to leading tab style.
<br>
<br>Distinguish between exact and inexact identifications by extensions.
<br>
<br>Mark git identification as inexact, so that using another VCS to control directories somewhere under a git-controlled directory does not identify the files incorrectly as git.
<br>
<br>Moved CHANGES.txt content into help file.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8210">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta20</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2008-02-01</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Implemented (first pass of) git support.
<br>
<br>Temporarily removed buffer status/command verification scheme.
<br>
<br>Save and restore 'foldlevel' with VCSVimDiff.
<br>
<br>Added VCSRemove as alias for VCSDelete.
<br>Added VCSBlame as alias for VCSAnnotate.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7435">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta19</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-07-31</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Load the plugin with nocompatible set, as it should have been done a few years ago.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7119">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta18</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-05-15</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added 'VCSCommandDisableMappings' and 'VCSCommandDisableExtensionMappings' options.&nbsp;&nbsp;If set, these variables prevent creation of the default command key mappings.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7112">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta17</b></td>
     <td class="roweven" valign="top" nowrap><i>2007-05-15</i></td>
     <td class="roweven" valign="top" nowrap>7.0</td>
     <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added 'VCSCommandDisableMappings' and 'VCSCommandDisableExtensionMappings' options.&nbsp;&nbsp;If set, these variables prevent creation of the default command key mappings.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7112">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta17</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-05-15</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Use 'executable()' to test for VCS tools (to avoid potentially slow operation at plugin load time).
<br>
<br>Always pass current revision to VCSAnnotate when using CVS with no arguments.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7044">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta16</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-04-30</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">VCSLog accepts passthrough options.
<br>VCSDiff correctly checks whether second argument starts with hyphen when deciding whether to pass-through.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7025">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta15</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-04-24</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Use 'haslocaldir()' if available to correctly handle windows that used :lcd.
<br>
<br>Made VCSDiff pass-through.
<br>
<br>Fixed SVK VCSDiff implementation.
<br>
<br>Made VCSCommands work a bit better on directory buffers (netrw).
<br>
<br>Replaced delayed extension registration to directly loading the main plugin from
<br>extension plugins.&nbsp;&nbsp;This allows base functions declared in the main plugin to
<br>be used in the extensions.
<br>
<br>Fixed SVN diff to actually use 'VCSCommandSVNDiffOpt' option.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6975">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta14</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-04-12</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Reincarnated 'CVSAnnotateParent' option for CVS as 'VCSCommandCVSAnnotateParent'.
<br>
<br>Close all vcscommand result buffers when vim exits to prevent them from being written to the viminfo file.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6858">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta13</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-03-12</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed following commands (broken in Beta 12):
<br>&nbsp;&nbsp;VCSLock
<br>&nbsp;&nbsp;VCSRevert
<br>&nbsp;&nbsp;VCSUnlock
<br>&nbsp;&nbsp;VCSUpdate</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6814">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>beta12</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-02-28</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added SVK support.
<br>
<br>Replaced SVN-specific command SVNInfo with VCSInfo, which is defined for SVK
<br>and SVN.&nbsp;&nbsp;This is mapped to '&lt;leader&gt;ci' by default; as a consequence, the
<br>default mapping for the CVS-specific CVSEditors command was changed to
<br>'&lt;leader&gt;cE'.
<br>
<br>Made VCSAnnotate accept parameters to pass to the underlying VCS.
<br>
<br>Made error messages for operations on non-versioned files more consistent.
<br>
<br>Added check to disable individual VCS extension plugins.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6761">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>beta11</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-02-20</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Added VCSCommandSVNDiffExt option to allow external diff applications.
<br>Added VCSDelete command.
<br>Added pass-through parameters to VCS Add, Delete, Log, Status, Lock, and Unlock commands (extra parameters to the command are given to the underlying VCS command).</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6368">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>Beta10</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-11-02</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Changed file type of commit log buffers to 'commitlog' (from 'commit log') to avoid FileType errors.
<br>
<br>Added 'VCSCommandSVNDiffOpt' to pass options to the svn diff -x parameter.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6160">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>Beta9</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-09-11</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Added 'VCSCommandResultBufferNameExtension' option for adding a custom extension to the VCS output buffer names.&nbsp;&nbsp;This is intended to help users experiencing issues due to autocommands and other settings that depend on buffer name.
<br>
<br>Added 'VCSCommandResultBufferNameFunction' option for completely over-riding the procedure for generating the result buffer names.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6070">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>Beta8</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-08-14</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Changed behavior of plugin within Explorer/netrw -style directory buffers.&nbsp;&nbsp;Commands within such a buffer now act as though invoked on that directory, and so affect all files (and subdirectories), regardless of where the cursor is within the directory buffer.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6055">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>Beta5</b></td>
+    <td class="roweven" valign="top" width="2000">Use 'executable()' to test for VCS tools (to avoid potentially slow operation at plugin load time).
<br>
<br>Always pass current revision to VCSAnnotate when using CVS with no arguments.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7044">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta16</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-04-30</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">VCSLog accepts passthrough options.
<br>VCSDiff correctly checks whether second argument starts with hyphen when deciding whether to pass-through.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7025">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta15</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-04-24</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Use 'haslocaldir()' if available to correctly handle windows that used :lcd.
<br>
<br>Made VCSDiff pass-through.
<br>
<br>Fixed SVK VCSDiff implementation.
<br>
<br>Made VCSCommands work a bit better on directory buffers (netrw).
<br>
<br>Replaced delayed extension registration to directly loading the main plugin from
<br>extension plugins.&nbsp;&nbsp;This allows base functions declared in the main plugin to
<br>be used in the extensions.
<br>
<br>Fixed SVN diff to actually use 'VCSCommandSVNDiffOpt' option.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6975">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta14</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-04-12</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Reincarnated 'CVSAnnotateParent' option for CVS as 'VCSCommandCVSAnnotateParent'.
<br>
<br>Close all vcscommand result buffers when vim exits to prevent them from being written to the viminfo file.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6858">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta13</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-03-12</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed following commands (broken in Beta 12):
<br>&nbsp;&nbsp;VCSLock
<br>&nbsp;&nbsp;VCSRevert
<br>&nbsp;&nbsp;VCSUnlock
<br>&nbsp;&nbsp;VCSUpdate</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6814">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>beta12</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-02-28</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added SVK support.
<br>
<br>Replaced SVN-specific command SVNInfo with VCSInfo, which is defined for SVK
<br>and SVN.&nbsp;&nbsp;This is mapped to '&lt;leader&gt;ci' by default; as a consequence, the
<br>default mapping for the CVS-specific CVSEditors command was changed to
<br>'&lt;leader&gt;cE'.
<br>
<br>Made VCSAnnotate accept parameters to pass to the underlying VCS.
<br>
<br>Made error messages for operations on non-versioned files more consistent.
<br>
<br>Added check to disable individual VCS extension plugins.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6761">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>beta11</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-02-20</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Added VCSCommandSVNDiffExt option to allow external diff applications.
<br>Added VCSDelete command.
<br>Added pass-through parameters to VCS Add, Delete, Log, Status, Lock, and Unlock commands (extra parameters to the command are given to the underlying VCS command).</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6368">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>Beta10</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-11-02</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Changed file type of commit log buffers to 'commitlog' (from 'commit log') to avoid FileType errors.
<br>
<br>Added 'VCSCommandSVNDiffOpt' to pass options to the svn diff -x parameter.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6160">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>Beta9</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-09-11</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Added 'VCSCommandResultBufferNameExtension' option for adding a custom extension to the VCS output buffer names.&nbsp;&nbsp;This is intended to help users experiencing issues due to autocommands and other settings that depend on buffer name.
<br>
<br>Added 'VCSCommandResultBufferNameFunction' option for completely over-riding the procedure for generating the result buffer names.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6070">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>Beta8</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-08-14</i></td>
+    <td class="rowodd" valign="top" nowrap>7.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Changed behavior of plugin within Explorer/netrw -style directory buffers.&nbsp;&nbsp;Commands within such a buffer now act as though invoked on that directory, and so affect all files (and subdirectories), regardless of where the cursor is within the directory buffer.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6055">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>Beta5</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-08-09</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Corrected shortcut help text in commit message buffer.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6054">vcscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>Beta4</b></td>
     <td class="rowodd" valign="top" nowrap><i>2006-08-09</i></td>
     <td class="rowodd" valign="top" nowrap>7.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Corrected shortcut help text in commit message buffer.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6054">vcscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>Beta4</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-08-09</i></td>
-    <td class="roweven" valign="top" nowrap>7.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Changed default mappings back to those from cvscommand (starting with
<br>'&lt;Leader&gt;c' instead of '&lt;Leader&gt;v'.&nbsp;&nbsp;This is to avoid conflict with existing plugins using the '&lt;Leader&gt;v' prefix.&nbsp;&nbsp;Please note that the mappings can still be overridden by the user using &lt;Plug&gt; mappings.&nbsp;&nbsp;Please consult the documentation for more information.
<br>
<br>Removed special characters other than parentheses from output buffer names.&nbsp;&nbsp;This is to address buffer name problems on Windows.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=6040">vcscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>Beta3</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-08-04</i></td>
-    <td class="rowodd" valign="top" nowrap>7.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Initial public release of vcscommand (based on cvscommand) to integrate subversion (SVN) and utilize VIM 7.0 features.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5302">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.76</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-02-22</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added optional direct specification of log message on :CVSCommit command (to avoid using the log message buffer).&nbsp;&nbsp;Usage:
<br>
<br>:CVSCommit &lt;log message text here&gt;</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5208">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.75</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-02-13</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Forced file changed check whenever the original CVS file could have changed, even in split window environments (per Luca Gerli).</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5069">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.74</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-02-06</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">* Added ability to use CVSCommand functions / hotkeys on directory listing buffers, specifically the file explorer.
<br>* CVSAnnotate:&nbsp;&nbsp;Previously, if CVSAnnotate was invoked on a CVSAnnotate buffer, the new annotate buffer would go to the version just prior to the one on the current line.&nbsp;&nbsp;Now, the new buffer uses the version on the current line.&nbsp;&nbsp;To obtain the old behavior, set CVSCommandAnnotateParent to a non-zero value.&nbsp;&nbsp;The header lines resulting from the cvs annotate command are now trimmed.&nbsp;&nbsp;No attempt is made to jump to the 'correct' line in a CVSAnnotate buffer, as it is unlikely to be the correct line anyway.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4999">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.73</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2006-01-23</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed typo in sample map in documentation per Luca Gerli.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4987">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.72</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-01-17</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Moved version check to after the loaded_cvscommand check.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4798">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.71</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-11-22</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Restored CVSVimDiffFinish user autocommand which executes after a CVSVimDiff
<br>(in order to allow customization of window placement, etc).
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4728">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.70</b></td>
-    <td class="roweven" valign="top" nowrap><i>2005-11-10</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Fixes bug that resulted in working directory change.
<br>
<br>Displays warning to user and will not load if running on VIM earlier than 6.2.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4403">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.68</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2005-06-30</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Fixed bug with autochdir and CVSCommit.
<br>(Repackaged from previous upload, which had new script in wrong place and old script in right place).du</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3491">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.67</b></td>
-    <td class="roweven" valign="top" nowrap><i>2004-09-27</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Corrected b:CVSRepository variable for CVSAdd'd files.&nbsp;&nbsp;This will fix status line display for these files, if the default (cvs) status line is used.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3450">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.66</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2004-09-14</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Changed maintainer email address.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3294">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.65</b></td>
-    <td class="roweven" valign="top" nowrap><i>2004-08-02</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added instructions for integrating with SSH.
<br>
<br>Added CVSCommandCVSExec option to specify cvs executable path.
<br>
<br>Added CVSBufferSetup user event.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3018">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.64</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2004-05-12</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Delete folds created by vimdiff mode in CVSVimDiff if the original window used manual folds, when it is restored.
<br>
<br>Always set scrollbind in the result window of a CVSVimDiff in order to combat the effects of splitting windows resetting scrollbind.&nbsp;&nbsp;Please let me know if this causes anyone trouble.</td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2126">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.63</b></td>
-    <td class="roweven" valign="top" nowrap><i>2003-07-03</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Bugfix release.&nbsp;&nbsp;Buffers start with 1, not 0.&nbsp;&nbsp;Switch to the original buffer first before destorying CVS buffers in
<br>CVSGotoOriginal! in order to preserve window layout.
<br></td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2123">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.62</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2003-07-02</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Added b:CVSRepository as a standard variable if buffer setup is enabled.
<br>
<br>Changed sample status line to display the repository version number if it differs from
<br>the working version number.
<br>
<br>Added recursive annotation functionality.
<br>
<br>Silenced text puts to set up the CVSCommit buffer.
<br>
<br>Added CVSVimDiffFinish event for window placement customization.
<br>
<br>Implemented the remove-all-CVS-buffers aspect of CVSGotoOriginal! in a slightly
<br>more sane way.
<br>
<br>Added 'foldenable' to the list of restored options for
<br>CVSVimDiff.
<br></td>
-</tr>
-<tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1949">cvscommand.zip</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.54</b></td>
-    <td class="roweven" valign="top" nowrap><i>2003-04-28</i></td>
-    <td class="roweven" valign="top" nowrap>6.0</td>
-    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added recognition of numerical tags for use as sticky tags.</td>
-</tr>
-<tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1929">cvscommand.zip</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.52</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2003-04-18</i></td>
-    <td class="rowodd" valign="top" nowrap>6.0</td>
-    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
-    <td class="rowodd" valign="top" width="2000">Added the CVSGotoOriginal[!] command and mappings (&lt;Leader&gt;cg and &lt;Leader&gt; cG for with and without '!', respectively).&nbsp;&nbsp;This command jumps to the source buffer if the current buffer is a CVS output buffer.&nbsp;&nbsp;The '!' also closes all CVS output buffer for the given source buffer.</td>
+    <td class="rowodd" valign="top" width="2000">Changed default mappings back to those from cvscommand (starting with
<br>'&lt;Leader&gt;c' instead of '&lt;Leader&gt;v'.&nbsp;&nbsp;This is to avoid conflict with existing plugins using the '&lt;Leader&gt;v' prefix.&nbsp;&nbsp;Please note that the mappings can still be overridden by the user using &lt;Plug&gt; mappings.&nbsp;&nbsp;Please consult the documentation for more information.
<br>
<br>Removed special characters other than parentheses from output buffer names.&nbsp;&nbsp;This is to address buffer name problems on Windows.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=6040">vcscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>Beta3</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-08-04</i></td>
+    <td class="roweven" valign="top" nowrap>7.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Initial public release of vcscommand (based on cvscommand) to integrate subversion (SVN) and utilize VIM 7.0 features.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5302">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.76</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-02-22</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added optional direct specification of log message on :CVSCommit command (to avoid using the log message buffer).&nbsp;&nbsp;Usage:
<br>
<br>:CVSCommit &lt;log message text here&gt;</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=5208">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.75</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-02-13</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Forced file changed check whenever the original CVS file could have changed, even in split window environments (per Luca Gerli).</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=5069">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.74</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-02-06</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">* Added ability to use CVSCommand functions / hotkeys on directory listing buffers, specifically the file explorer.
<br>* CVSAnnotate:&nbsp;&nbsp;Previously, if CVSAnnotate was invoked on a CVSAnnotate buffer, the new annotate buffer would go to the version just prior to the one on the current line.&nbsp;&nbsp;Now, the new buffer uses the version on the current line.&nbsp;&nbsp;To obtain the old behavior, set CVSCommandAnnotateParent to a non-zero value.&nbsp;&nbsp;The header lines resulting from the cvs annotate command are now trimmed.&nbsp;&nbsp;No attempt is made to jump to the 'correct' line in a CVSAnnotate buffer, as it is unlikely to be the correct line anyway.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4999">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.73</b></td>
+    <td class="roweven" valign="top" nowrap><i>2006-01-23</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed typo in sample map in documentation per Luca Gerli.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4987">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.72</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-01-17</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Moved version check to after the loaded_cvscommand check.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4798">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.71</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-11-22</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Restored CVSVimDiffFinish user autocommand which executes after a CVSVimDiff
<br>(in order to allow customization of window placement, etc).
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4728">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.70</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2005-11-10</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Fixes bug that resulted in working directory change.
<br>
<br>Displays warning to user and will not load if running on VIM earlier than 6.2.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4403">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.68</b></td>
+    <td class="roweven" valign="top" nowrap><i>2005-06-30</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Fixed bug with autochdir and CVSCommit.
<br>(Repackaged from previous upload, which had new script in wrong place and old script in right place).du</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3491">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.67</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2004-09-27</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Corrected b:CVSRepository variable for CVSAdd'd files.&nbsp;&nbsp;This will fix status line display for these files, if the default (cvs) status line is used.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3450">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.66</b></td>
+    <td class="roweven" valign="top" nowrap><i>2004-09-14</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Changed maintainer email address.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3294">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.65</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2004-08-02</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added instructions for integrating with SSH.
<br>
<br>Added CVSCommandCVSExec option to specify cvs executable path.
<br>
<br>Added CVSBufferSetup user event.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3018">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.64</b></td>
+    <td class="roweven" valign="top" nowrap><i>2004-05-12</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Delete folds created by vimdiff mode in CVSVimDiff if the original window used manual folds, when it is restored.
<br>
<br>Always set scrollbind in the result window of a CVSVimDiff in order to combat the effects of splitting windows resetting scrollbind.&nbsp;&nbsp;Please let me know if this causes anyone trouble.</td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=2126">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.63</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2003-07-03</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Bugfix release.&nbsp;&nbsp;Buffers start with 1, not 0.&nbsp;&nbsp;Switch to the original buffer first before destorying CVS buffers in
<br>CVSGotoOriginal! in order to preserve window layout.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=2123">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.62</b></td>
+    <td class="roweven" valign="top" nowrap><i>2003-07-02</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Added b:CVSRepository as a standard variable if buffer setup is enabled.
<br>
<br>Changed sample status line to display the repository version number if it differs from
<br>the working version number.
<br>
<br>Added recursive annotation functionality.
<br>
<br>Silenced text puts to set up the CVSCommit buffer.
<br>
<br>Added CVSVimDiffFinish event for window placement customization.
<br>
<br>Implemented the remove-all-CVS-buffers aspect of CVSGotoOriginal! in a slightly
<br>more sane way.
<br>
<br>Added 'foldenable' to the list of restored options for
<br>CVSVimDiff.
<br></td>
+</tr>
+<tr>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=1949">cvscommand.zip</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.54</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2003-04-28</i></td>
+    <td class="rowodd" valign="top" nowrap>6.0</td>
+    <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="rowodd" valign="top" width="2000">Added recognition of numerical tags for use as sticky tags.</td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=1929">cvscommand.zip</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.52</b></td>
+    <td class="roweven" valign="top" nowrap><i>2003-04-18</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=241">Bob Hiestand</a></i></td>
+    <td class="roweven" valign="top" width="2000">Added the CVSGotoOriginal[!] command and mappings (&lt;Leader&gt;cg and &lt;Leader&gt; cG for with and without '!', respectively).&nbsp;&nbsp;This command jumps to the source buffer if the current buffer is a CVS output buffer.&nbsp;&nbsp;The '!' also closes all CVS output buffer for the given source buffer.</td>
 </tr>
 </table>
 <!-- finish off the framework -->
@@ -505,6 +529,7 @@
         </tr>
       </table>
     </td>
+
   </tr>
 </table>
 

Modified: trunk/packages/vim-scripts/plugin/vcscommand.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/vcscommand.vim?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/vcscommand.vim (original)
+++ trunk/packages/vim-scripts/plugin/vcscommand.vim Fri Dec  5 19:01:10 2008
@@ -1,9 +1,10 @@
 " vim600: set foldmethod=marker:
 "
-" Vim plugin to assist in working with files under control of CVS or SVN.
-"
-" Version:       Beta 26
-" Maintainer:    Bob Hiestand <bob.hiestand at gmail.com>
+" Vim plugin to assist in working with files under control of various Version
+" Control Systems, such as CVS, SVN, SVK, and git.
+"
+" Version:	Beta 28
+" Maintainer:	Bob Hiestand <bob.hiestand at gmail.com>
 " License:
 " Copyright (c) 2008 Bob Hiestand
 "
@@ -187,6 +188,11 @@
 "   This variable overrides the VCSCommandSplit variable, but only for buffers
 "   created with VCSVimDiff.
 "
+" VCSCommandDisableAll
+"   This variable, if set, prevents the plugin or any extensions from loading
+"   at all.  This is useful when a single runtime distribution is used on
+"   multiple systems with varying versions.
+"
 " VCSCommandDisableMappings
 "   This variable, if set to a non-zero value, prevents the default command
 "   mappings from being set.
@@ -206,6 +212,16 @@
 "   the file is VCS-controlled.  This is useful for displaying version
 "   information in the status bar.  Additional options may be set by
 "   individual VCS plugins.
+"
+" VCSCommandMappings
+"   This variable, if set, overrides the default mappings used for shortcuts.
+"   It should be a List of 2-element Lists, each containing a shortcut and
+"   function name pair.
+"
+" VCSCommandMapPrefix
+"   This variable, if set, overrides the default mapping prefix ('<Leader>c').
+"   This allows customization of the mapping space used by the vcscommand
+"   shortcuts.
 "
 " VCSCommandResultBufferNameExtension
 "   This variable, if set to a non-blank value, is appended to the name of the
@@ -272,6 +288,10 @@
 " completes.  This allows various actions to only be taken by functions after
 " system initialization.
 
+if exists('VCSCommandDisableAll')
+	finish
+endif
+
 if exists('loaded_VCSCommand')
 	finish
 endif
@@ -329,6 +349,27 @@
 
 function! s:ReportError(error)
 	echohl WarningMsg|echomsg 'VCSCommand:  ' . a:error|echohl None
+endfunction
+
+
+" Function: s:CreateMapping(shortcut, expansion, display) {{{2
+" Creates the given mapping by prepending the contents of
+" 'VCSCommandMapPrefix' (by default '<Leader>c') to the given shortcut and
+" mapping it to the given plugin function.  If a mapping exists for the
+" specified shortcut + prefix, emit an error but continue.  If a mapping
+" exists for the specified function, do nothing.
+
+function! s:CreateMapping(shortcut, expansion, display)
+	let lhs = VCSCommandGetOption('VCSCommandMapPrefix', '<Leader>c') . a:shortcut
+	if !hasmapto(a:expansion)
+		try
+			execute 'nmap <silent> <unique>' lhs a:expansion
+		catch /^Vim(.*):E227:/
+			if(&verbose != 0)
+				echohl WarningMsg|echomsg 'VCSCommand:  mapping ''' . lhs . ''' already exists, refusing to overwrite.  The mapping for ' . a:display . ' will not be available.'|echohl None
+			endif
+		endtry
+	endif
 endfunction
 
 " Function: s:ExecuteExtensionMapping(mapping) {{{2
@@ -740,6 +781,10 @@
 				call s:WipeoutCommandBuffers(s:vimDiffSourceBuffer, 'vimdiff')
 			endif
 
+			let orientation = &diffopt =~ 'horizontal' ? 'horizontal' : 'vertical'
+			let orientation = VCSCommandGetOption('VCSCommandSplit', orientation)
+			let orientation = VCSCommandGetOption('VCSCommandDiffSplit', orientation)
+
 			" Split and diff
 			if(a:0 == 2)
 				" Reset the vimdiff system, as 2 explicit versions were provided.
@@ -756,7 +801,7 @@
 				let s:vimDiffScratchList = [resultBuffer]
 				" If no split method is defined, cheat, and set it to vertical.
 				try
-					call s:OverrideOption('VCSCommandSplit', VCSCommandGetOption('VCSCommandDiffSplit', VCSCommandGetOption('VCSCommandSplit', 'vertical')))
+					call s:OverrideOption('VCSCommandSplit', orientation)
 					let resultBuffer = s:plugins[vcsType][1].Review([a:2])
 				finally
 					call s:OverrideOption('VCSCommandSplit')
@@ -773,7 +818,7 @@
 				call s:OverrideOption('VCSCommandEdit', 'split')
 				try
 					" Force splitting behavior, otherwise why use vimdiff?
-					call s:OverrideOption('VCSCommandSplit', VCSCommandGetOption('VCSCommandDiffSplit', VCSCommandGetOption('VCSCommandSplit', 'vertical')))
+					call s:OverrideOption('VCSCommandSplit', orientation)
 					try
 						if(a:0 == 0)
 							let resultBuffer = s:plugins[vcsType][1].Review([])
@@ -930,8 +975,9 @@
 	if !empty(a:mappingMap)
 				\ && !VCSCommandGetOption('VCSCommandDisableMappings', 0)
 				\ && !VCSCommandGetOption('VCSCommandDisableExtensionMappings', 0)
-		for mapname in keys(a:mappingMap)
-			execute 'noremap <silent> <Leader>' . mapname ':call <SID>ExecuteExtensionMapping(''' . mapname . ''')<CR>'
+		for shortcut in keys(a:mappingMap)
+			let expansion = ":call <SID>ExecuteExtensionMapping('" . shortcut . "')<CR>"
+			call s:CreateMapping(shortcut, expansion, a:name . " extension mapping " . shortcut)
 		endfor
 	endif
 endfunction
@@ -1144,55 +1190,29 @@
 
 " Section: Default mappings {{{1
 
+let s:defaultMappings = [
+			\['a', 'VCSAdd'],
+			\['c', 'VCSCommit'],
+			\['D', 'VCSDelete'],
+			\['d', 'VCSDiff'],
+			\['G', 'VCSClearAndGotoOriginal'],
+			\['g', 'VCSGotoOriginal'],
+			\['i', 'VCSInfo'],
+			\['L', 'VCSLock'],
+			\['l', 'VCSLog'],
+			\['n', 'VCSAnnotate'],
+			\['q', 'VCSRevert'],
+			\['r', 'VCSReview'],
+			\['s', 'VCSStatus'],
+			\['U', 'VCSUnlock'],
+			\['u', 'VCSUpdate'],
+			\['v', 'VCSVimDiff'],
+			\]
+
 if !VCSCommandGetOption('VCSCommandDisableMappings', 0)
-	if !hasmapto('<Plug>VCSAdd')
-		nmap <unique> <Leader>ca <Plug>VCSAdd
-	endif
-	if !hasmapto('<Plug>VCSAnnotate')
-		nmap <unique> <Leader>cn <Plug>VCSAnnotate
-	endif
-	if !hasmapto('<Plug>VCSClearAndGotoOriginal')
-		nmap <unique> <Leader>cG <Plug>VCSClearAndGotoOriginal
-	endif
-	if !hasmapto('<Plug>VCSCommit')
-		nmap <unique> <Leader>cc <Plug>VCSCommit
-	endif
-	if !hasmapto('<Plug>VCSDelete')
-		nmap <unique> <Leader>cD <Plug>VCSDelete
-	endif
-	if !hasmapto('<Plug>VCSDiff')
-		nmap <unique> <Leader>cd <Plug>VCSDiff
-	endif
-	if !hasmapto('<Plug>VCSGotoOriginal')
-		nmap <unique> <Leader>cg <Plug>VCSGotoOriginal
-	endif
-	if !hasmapto('<Plug>VCSInfo')
-		nmap <unique> <Leader>ci <Plug>VCSInfo
-	endif
-	if !hasmapto('<Plug>VCSLock')
-		nmap <unique> <Leader>cL <Plug>VCSLock
-	endif
-	if !hasmapto('<Plug>VCSLog')
-		nmap <unique> <Leader>cl <Plug>VCSLog
-	endif
-	if !hasmapto('<Plug>VCSRevert')
-		nmap <unique> <Leader>cq <Plug>VCSRevert
-	endif
-	if !hasmapto('<Plug>VCSReview')
-		nmap <unique> <Leader>cr <Plug>VCSReview
-	endif
-	if !hasmapto('<Plug>VCSStatus')
-		nmap <unique> <Leader>cs <Plug>VCSStatus
-	endif
-	if !hasmapto('<Plug>VCSUnlock')
-		nmap <unique> <Leader>cU <Plug>VCSUnlock
-	endif
-	if !hasmapto('<Plug>VCSUpdate')
-		nmap <unique> <Leader>cu <Plug>VCSUpdate
-	endif
-	if !hasmapto('<Plug>VCSVimDiff')
-		nmap <unique> <Leader>cv <Plug>VCSVimDiff
-	endif
+	for [shortcut, vcsFunction] in VCSCommandGetOption('VCSCommandMappings', s:defaultMappings)
+		call s:CreateMapping(shortcut, '<Plug>' . vcsFunction, '''' . vcsFunction . '''')
+	endfor
 endif
 
 " Section: Menu items {{{1

Modified: trunk/packages/vim-scripts/plugin/vcscvs.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/vcscvs.vim?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/vcscvs.vim (original)
+++ trunk/packages/vim-scripts/plugin/vcscvs.vim Fri Dec  5 19:01:10 2008
@@ -80,6 +80,10 @@
 "   command.  If not set, it defaults to 'u'.
 
 " Section: Plugin header {{{1
+
+if exists('VCSCommandDisableAll')
+	finish
+endif
 
 if v:version < 700
 	echohl WarningMsg|echomsg 'VCSCommand requires at least VIM 7.0'|echohl None
@@ -403,14 +407,14 @@
 
 let s:cvsExtensionMappings = {}
 let mappingInfo = [
-			\['CVSEdit', 'CVSEdit', 'ce'],
-			\['CVSEditors', 'CVSEditors', 'cE'],
-			\['CVSUnedit', 'CVSUnedit', 'ct'],
-			\['CVSWatchers', 'CVSWatchers', 'cwv'],
-			\['CVSWatchAdd', 'CVSWatch add', 'cwa'],
-			\['CVSWatchOff', 'CVSWatch off', 'cwf'],
-			\['CVSWatchOn', 'CVSWatch on', 'cwn'],
-			\['CVSWatchRemove', 'CVSWatch remove', 'cwr']
+			\['CVSEdit', 'CVSEdit', 'e'],
+			\['CVSEditors', 'CVSEditors', 'E'],
+			\['CVSUnedit', 'CVSUnedit', 't'],
+			\['CVSWatchers', 'CVSWatchers', 'wv'],
+			\['CVSWatchAdd', 'CVSWatch add', 'wa'],
+			\['CVSWatchOff', 'CVSWatch off', 'wf'],
+			\['CVSWatchOn', 'CVSWatch on', 'wn'],
+			\['CVSWatchRemove', 'CVSWatch remove', 'wr']
 			\]
 
 for [pluginName, commandText, shortCut] in mappingInfo

Modified: trunk/packages/vim-scripts/plugin/vcsgit.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/vcsgit.vim?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/vcsgit.vim (original)
+++ trunk/packages/vim-scripts/plugin/vcsgit.vim Fri Dec  5 19:01:10 2008
@@ -39,6 +39,10 @@
 "   command, this variable is not used.
 
 " Section: Plugin header {{{1
+
+if exists('VCSCommandDisableAll')
+	finish
+endif
 
 if v:version < 700
 	echohl WarningMsg|echomsg 'VCSCommand requires at least VIM 7.0'|echohl None

Modified: trunk/packages/vim-scripts/plugin/vcssvk.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/vcssvk.vim?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/vcssvk.vim (original)
+++ trunk/packages/vim-scripts/plugin/vcssvk.vim Fri Dec  5 19:01:10 2008
@@ -34,6 +34,10 @@
 "   'svk' executed from the user's executable path.
 
 " Section: Plugin header {{{1
+
+if exists('VCSCommandDisableAll')
+	finish
+endif
 
 if v:version < 700
 	echohl WarningMsg|echomsg 'VCSCommand requires at least VIM 7.0'|echohl None

Modified: trunk/packages/vim-scripts/plugin/vcssvn.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/vcssvn.vim?rev=1289&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/vcssvn.vim (original)
+++ trunk/packages/vim-scripts/plugin/vcssvn.vim Fri Dec  5 19:01:10 2008
@@ -41,6 +41,10 @@
 "   command (such as 'u', 'w', or 'b').
 
 " Section: Plugin header {{{1
+
+if exists('VCSCommandDisableAll')
+	finish
+endif
 
 if v:version < 700
 	echohl WarningMsg|echomsg 'VCSCommand requires at least VIM 7.0'|echohl None
@@ -121,7 +125,7 @@
 		let options = ' ' . caption
 	endif
 
-	let resultBuffer = s:DoCommand('blame' . options, 'annotate', caption, {})
+	let resultBuffer = s:DoCommand('blame --non-interactive' . options, 'annotate', caption, {})
 	if resultBuffer > 0
 		set filetype=SVNAnnotate
 	endif
@@ -130,7 +134,7 @@
 
 " Function: s:svnFunctions.Commit(argList) {{{2
 function! s:svnFunctions.Commit(argList)
-	let resultBuffer = s:DoCommand('commit -F "' . a:argList[0] . '"', 'commit', '', {})
+	let resultBuffer = s:DoCommand('commit --non-interactive -F "' . a:argList[0] . '"', 'commit', '', {})
 	if resultBuffer == 0
 		echomsg 'No commit needed.'
 	endif
@@ -138,7 +142,7 @@
 
 " Function: s:svnFunctions.Delete() {{{2
 function! s:svnFunctions.Delete(argList)
-	return s:DoCommand(join(['delete'] + a:argList, ' '), 'delete', join(a:argList, ' '), {})
+	return s:DoCommand(join(['delete --non-interactive'] + a:argList, ' '), 'delete', join(a:argList, ' '), {})
 endfunction
 
 " Function: s:svnFunctions.Diff(argList) {{{2
@@ -169,7 +173,7 @@
 		let diffOptions = ['-x -' . svnDiffOpt]
 	endif
 
-	let resultBuffer = s:DoCommand(join(['diff'] + diffExt + diffOptions + revOptions), 'diff', caption, {})
+	let resultBuffer = s:DoCommand(join(['diff --non-interactive'] + diffExt + diffOptions + revOptions), 'diff', caption, {})
 	if resultBuffer > 0
 		set filetype=diff
 	else
@@ -189,7 +193,7 @@
 function! s:svnFunctions.GetBufferInfo()
 	let originalBuffer = VCSCommandGetOriginalBuffer(bufnr('%'))
 	let fileName = bufname(originalBuffer)
-	let statusText = system(VCSCommandGetOption('VCSCommandSVNExec', 'svn') . ' status -vu "' . fileName . '"')
+	let statusText = system(VCSCommandGetOption('VCSCommandSVNExec', 'svn') . ' status --non-interactive -vu "' . fileName . '"')
 	if(v:shell_error)
 		return []
 	endif
@@ -212,12 +216,12 @@
 
 " Function: s:svnFunctions.Info(argList) {{{2
 function! s:svnFunctions.Info(argList)
-	return s:DoCommand(join(['info'] + a:argList, ' '), 'info', join(a:argList, ' '), {})
+	return s:DoCommand(join(['info --non-interactive'] + a:argList, ' '), 'info', join(a:argList, ' '), {})
 endfunction
 
 " Function: s:svnFunctions.Lock(argList) {{{2
 function! s:svnFunctions.Lock(argList)
-	return s:DoCommand(join(['lock'] + a:argList, ' '), 'lock', join(a:argList, ' '), {})
+	return s:DoCommand(join(['lock --non-interactive'] + a:argList, ' '), 'lock', join(a:argList, ' '), {})
 endfunction
 
 " Function: s:svnFunctions.Log(argList) {{{2
@@ -234,7 +238,7 @@
 		let caption = join(a:argList, ' ')
 	endif
 
-	let resultBuffer = s:DoCommand(join(['log', '-v'] + options), 'log', caption, {})
+	let resultBuffer = s:DoCommand(join(['log --non-interactive', '-v'] + options), 'log', caption, {})
 	return resultBuffer
 endfunction
 
@@ -253,7 +257,7 @@
 		let versionOption = ' -r ' . versiontag . ' '
 	endif
 
-	let resultBuffer = s:DoCommand('cat' . versionOption, 'review', versiontag, {})
+	let resultBuffer = s:DoCommand('cat --non-interactive' . versionOption, 'review', versiontag, {})
 	if resultBuffer > 0
 		let &filetype = getbufvar(b:VCSCommandOriginalBuffer, '&filetype')
 	endif
@@ -266,16 +270,16 @@
 	if len(a:argList) == 0
 		let options = a:argList
 	endif
-	return s:DoCommand(join(['status'] + options, ' '), 'status', join(options, ' '), {})
+	return s:DoCommand(join(['status --non-interactive'] + options, ' '), 'status', join(options, ' '), {})
 endfunction
 
 " Function: s:svnFunctions.Unlock(argList) {{{2
 function! s:svnFunctions.Unlock(argList)
-	return s:DoCommand(join(['unlock'] + a:argList, ' '), 'unlock', join(a:argList, ' '), {})
+	return s:DoCommand(join(['unlock --non-interactive'] + a:argList, ' '), 'unlock', join(a:argList, ' '), {})
 endfunction
 " Function: s:svnFunctions.Update(argList) {{{2
 function! s:svnFunctions.Update(argList)
-	return s:DoCommand('update', 'update', '', {})
+	return s:DoCommand('update --non-interactive', 'update', '', {})
 endfunction
 
 " Section: Plugin Registration {{{1




More information about the pkg-vim-maintainers mailing list