vcscommand.git
11 years agohandle ignored files in GetBufferInfomasterv1.99.47
Danielle Church [Thu, 1 Mar 2012 15:37:29 +0000 (1 09:37 -0600)]
handle ignored files in GetBufferInfo

11 years agoapply "edit" during 2-parameter VCSVimDiff
Bob Hiestand [Thu, 11 Apr 2013 19:58:18 +0000 (11 14:58 -0500)]
apply "edit" during 2-parameter VCSVimDiff

11 years agore-enable executable quoting removed in 1.99.43.
Bob Hiestand [Thu, 11 Apr 2013 19:25:06 +0000 (11 14:25 -0500)]
re-enable executable quoting removed in 1.99.43.

Remove special-casing of sxq for Windows, as VIM does that now.

Always call shellescape() on the executable name in s:Executable().

12 years agodon't split nested windows in split annotatev1.99.46
Bob Hiestand [Mon, 5 Dec 2011 16:13:27 +0000 (5 10:13 -0600)]
don't split nested windows in split annotate

12 years agodon't restore cursorbind if it doesn't exist
Bob Hiestand [Mon, 5 Dec 2011 16:14:03 +0000 (5 10:14 -0600)]
don't restore cursorbind if it doesn't exist

12 years agodon't even try to source vcscommand.vim againv1.99.45
Bob Hiestand [Wed, 19 Oct 2011 15:21:23 +0000 (19 10:21 -0500)]
don't even try to source vcscommand.vim again

12 years agoidentify via 'svn info'
Bob Hiestand [Tue, 18 Oct 2011 15:50:12 +0000 (18 10:50 -0500)]
identify via 'svn info'

don't look for .svn directories as svn 1.7 breaks that method

12 years agodon't query the server for GetBufferInfo
Bob Hiestand [Tue, 18 Oct 2011 15:45:02 +0000 (18 10:45 -0500)]
don't query the server for GetBufferInfo

12 years agohandle &sel of 'exclusive' in split annotation
Ingo Karkat [Sat, 30 Jul 2011 13:19:49 +0000 (30 15:19 +0200)]
handle &sel of 'exclusive' in split annotation

12 years agouse case-insensitive tests for VCS file types
Ingo Karkat [Wed, 27 Jul 2011 09:22:50 +0000 (27 11:22 +0200)]
use case-insensitive tests for VCS file types

12 years agofix HG :VCSAnnotate in VCSAnnotate buffer
Ian Liu Rodrigues [Fri, 15 Apr 2011 04:50:08 +0000 (15 01:50 -0300)]
fix HG :VCSAnnotate in VCSAnnotate buffer

12 years agoEncode commit messages as &tencv1.99.44
Bob Hiestand [Fri, 30 Sep 2011 15:10:13 +0000 (30 10:10 -0500)]
Encode commit messages as &tenc

12 years agorespect fenc when reviewing, annotating, or diffing
Bob Hiestand [Tue, 27 Sep 2011 15:18:10 +0000 (27 10:18 -0500)]
respect fenc when reviewing, annotating, or diffing

12 years agoRemove OverrideOption functionality.
Bob Hiestand [Tue, 27 Sep 2011 15:04:56 +0000 (27 10:04 -0500)]
Remove OverrideOption functionality.

12 years agoSwitch from OverrideOption to execution context.
Bob Hiestand [Tue, 27 Sep 2011 14:50:26 +0000 (27 09:50 -0500)]
Switch from OverrideOption to execution context.

12 years agoAdded execution context stack.
Bob Hiestand [Tue, 27 Sep 2011 14:37:05 +0000 (27 09:37 -0500)]
Added execution context stack.

12 years agoProtect against systems without +mbyte.
Bob Hiestand [Tue, 27 Sep 2011 20:38:48 +0000 (27 15:38 -0500)]
Protect against systems without +mbyte.

13 years agoadd 'VCSCommandVCSTypeExplicitOverride' for a more dynamic switch
Bob Hiestand [Thu, 7 Jul 2011 17:22:38 +0000 (7 12:22 -0500)]
add 'VCSCommandVCSTypeExplicitOverride' for a more dynamic switch

13 years agoadded 'VCSCommandVCSTypePreference' to documentation
Bob Hiestand [Thu, 7 Jul 2011 15:48:16 +0000 (7 10:48 -0500)]
added 'VCSCommandVCSTypePreference' to documentation

13 years agoallow 'VCSCommandVCSTypePreference' to be a List
Bob Hiestand [Thu, 7 Jul 2011 15:38:39 +0000 (7 10:38 -0500)]
allow 'VCSCommandVCSTypePreference' to be a List

13 years agouse VCSCommandVCSTypePreference before exact match
Bob Hiestand [Thu, 7 Jul 2011 15:17:02 +0000 (7 10:17 -0500)]
use VCSCommandVCSTypePreference before exact match

13 years agorefactor VCSCommandGetVCSType() to clean up multiple returns
Bob Hiestand [Thu, 7 Jul 2011 14:56:42 +0000 (7 09:56 -0500)]
refactor VCSCommandGetVCSType() to clean up multiple returns

13 years agouse case-insenstive operator instead of altering comparands
Bob Hiestand [Wed, 6 Jul 2011 19:50:33 +0000 (6 14:50 -0500)]
use case-insenstive operator instead of altering comparands

13 years agoallow VCSCommandVCSTypePreference to be specified at all scopes
Bob Hiestand [Wed, 6 Jul 2011 15:39:24 +0000 (6 10:39 -0500)]
allow VCSCommandVCSTypePreference to be specified at all scopes

13 years agoremove debugging output
Bob Hiestand [Wed, 6 Jul 2011 14:59:28 +0000 (6 09:59 -0500)]
remove debugging output

13 years agoclean up white space
Bob Hiestand [Wed, 6 Jul 2011 14:58:56 +0000 (6 09:58 -0500)]
clean up white space

13 years agoallow "preferred vcs" in case of ambiguity
Will Palmer [Thu, 3 Feb 2011 12:01:00 +0000 (3 06:01 -0600)]
allow "preferred vcs" in case of ambiguity

13 years agoProtect against versions of VIM that don't have fnameescape().
Bob Hiestand [Thu, 30 Jun 2011 15:42:50 +0000 (30 10:42 -0500)]
Protect against versions of VIM that don't have fnameescape().

13 years agoRespect 'no_plugin_maps'.v1.99.43
Bob Hiestand [Thu, 2 Jun 2011 22:18:20 +0000 (2 17:18 -0500)]
Respect 'no_plugin_maps'.

13 years agofix escaping in VCSCommandChdir
Philipp Edelmann [Fri, 18 Mar 2011 17:09:19 +0000 (18 18:09 +0100)]
fix escaping in VCSCommandChdir

13 years agoAccount for space used by 'number' option when performing split annotate.
Bob Hiestand [Thu, 2 Jun 2011 21:17:27 +0000 (2 16:17 -0500)]
Account for space used by 'number' option when performing split annotate.

13 years agoRestore cursorbind as part of vimdiff restore.
Frederic Chanal [Wed, 29 Sep 2010 17:36:58 +0000 (29 19:36 +0200)]
Restore cursorbind as part of vimdiff restore.

13 years agoHandle a difference between &enc and &tenc
Xavier Wang [Wed, 23 Feb 2011 16:59:02 +0000 (23 10:59 -0600)]
Handle a difference between &enc and &tenc

13 years agoAlways use [bang] after :normal to avoid user remaps.
Bob Hiestand [Thu, 10 Feb 2011 17:01:46 +0000 (10 11:01 -0600)]
Always use [bang] after :normal to avoid user remaps.

13 years agoAdded VCSCommandSetVCSType()
Bob Hiestand [Thu, 20 May 2010 01:41:13 +0000 (19 20:41 -0500)]
Added VCSCommandSetVCSType()

13 years agoDon't try to escape executable names for shell execution.
Bob Hiestand [Fri, 12 Nov 2010 21:10:24 +0000 (12 15:10 -0600)]
Don't try to escape executable names for shell execution.

14 years agovcshg: correct message for empty commitv1.99.42
Christian Ebert [Thu, 17 Jun 2010 15:18:24 +0000 (17 17:18 +0200)]
vcshg: correct message for empty commit

14 years agoAdded menu configuration documentation to help file.
Bob Hiestand [Thu, 2 Sep 2010 19:56:12 +0000 (2 14:56 -0500)]
Added menu configuration documentation to help file.

14 years agoFactored menu addition into a single function and shared with extensions.
Bob Hiestand [Thu, 2 Sep 2010 19:47:40 +0000 (2 14:47 -0500)]
Factored menu addition into a single function and shared with extensions.

14 years agoProvide menu configuration.
David Barsam [Wed, 4 Aug 2010 10:53:00 +0000 (4 05:53 -0500)]
Provide menu configuration.

14 years agoRemoved copyright dates.
Bob Hiestand [Wed, 1 Sep 2010 18:42:27 +0000 (1 13:42 -0500)]
Removed copyright dates.

14 years agoHandle 1 vimdiff session per tab.
Bob Hiestand [Wed, 1 Sep 2010 16:27:21 +0000 (1 11:27 -0500)]
Handle 1 vimdiff session per tab.

14 years agosvnannotate: leading spaces are optional
Bob Hiestand [Mon, 30 Aug 2010 18:23:00 +0000 (30 13:23 -0500)]
svnannotate:  leading spaces are optional

14 years agoChanged buflisted() to bufexists() when creating scratch buffers.v1.99.41
Bob Hiestand [Wed, 30 Jun 2010 21:11:45 +0000 (30 16:11 -0500)]
Changed buflisted() to bufexists() when creating scratch buffers.

14 years agovcsgit: show correct message for empty commit.
Bob Hiestand [Mon, 17 May 2010 03:16:57 +0000 (16 22:16 -0500)]
vcsgit:  show correct message for empty commit.

14 years agovcshg: hg add --verbose to open a feedback buffer
Christian Ebert [Mon, 17 May 2010 09:49:16 +0000 (17 11:49 +0200)]
vcshg: hg add --verbose to open a feedback buffer

As hg without --verbose is silent on success this change
makes sure the user is informed of a successful add.

14 years agovcshg: let hg populate the resultBuffer for commit
Christian Ebert [Tue, 4 May 2010 15:38:36 +0000 (4 17:38 +0200)]
vcshg: let hg populate the resultBuffer for commit

Achieved by adding the -v/--verbose option to commit.
The test for resultBuffer == 0 is not needed, even leads to spurious
'No commit needed.' messages.

14 years agovcshg: change status default option to -A/--all
Christian Ebert [Tue, 4 May 2010 15:38:35 +0000 (4 17:38 +0200)]
vcshg: change status default option to -A/--all

This way we get a result window for clean files as well.

14 years agovcshg: make status respect given options
Christian Ebert [Tue, 4 May 2010 15:38:34 +0000 (4 17:38 +0200)]
vcshg: make status respect given options

14 years agohgannotate: remove executable bit
Christian Ebert [Tue, 4 May 2010 15:38:33 +0000 (4 17:38 +0200)]
hgannotate: remove executable bit

14 years agoVCSStatus: fix inverted option logic
Bob Hiestand [Mon, 17 May 2010 01:25:04 +0000 (16 20:25 -0500)]
VCSStatus:  fix inverted option logic

14 years agovcssvn: Handle newer SVN 'status -vu' format.v1.99.40
Bob Hiestand [Tue, 24 Nov 2009 14:46:01 +0000 (24 08:46 -0600)]
vcssvn:  Handle newer SVN 'status -vu' format.

Add a ninth column to the status flag field when parsing file status.

Actually use the up-to-date flag in the status variables.

14 years agoDo not write to bzr log when identifying
Christian Ebert [Fri, 26 Feb 2010 12:37:54 +0000 (26 13:37 +0100)]
Do not write to bzr log when identifying

Avoids clobbering the bzr log file with python tracebacks.
Needs bzr 1.3 or greater to have an effect.
https://bugs.launchpad.net/bzr/+bug/106117

14 years agoVCSCommit: removed use of 'shellslash' option in VCSFinishCommit().v1.99.39
Bob Hiestand [Mon, 29 Mar 2010 19:11:55 +0000 (29 14:11 -0500)]
VCSCommit:  removed use of 'shellslash' option in VCSFinishCommit().

14 years agoVCSCommit: call the 'VCSBufferCreated' user auto-command after populating the commit...
Bob Hiestand [Mon, 29 Mar 2010 18:47:44 +0000 (29 13:47 -0500)]
VCSCommit:  call the 'VCSBufferCreated' user auto-command after populating the commit log buffer.

14 years agoVCSVimDiff: Preserve filetype in review buffers.v1.99.38
Bob Hiestand [Fri, 19 Feb 2010 14:58:18 +0000 (19 08:58 -0600)]
VCSVimDiff:  Preserve filetype in review buffers.

14 years agoconsistency: always use lower case for filetype.v1.99.37
Bob Hiestand [Tue, 2 Feb 2010 16:16:31 +0000 (2 10:16 -0600)]
consistency:  always use lower case for filetype.

14 years agovcsgit: Remove redundant positioning command in annotate.v1.99.36
Bob Hiestand [Thu, 28 Jan 2010 20:28:32 +0000 (28 14:28 -0600)]
vcsgit:  Remove redundant positioning command in annotate.

14 years agoRemoved explicit filetype setting in extensions.
Bob Hiestand [Thu, 28 Jan 2010 20:21:32 +0000 (28 14:21 -0600)]
Removed explicit filetype setting in extensions.

This creates a slight bug in that external diff for SVN and HG will say
'No differences found'.

This changes the default file type for CVS log output, which will now be
CVSlog instead of rcslog.

14 years agoCentralize file type setting for VCSDiff and VCSReview.
Bob Hiestand [Thu, 28 Jan 2010 19:50:36 +0000 (28 13:50 -0600)]
Centralize file type setting for VCSDiff and VCSReview.

14 years agoVCSAnnotate: jump to current line.
Bob Hiestand [Mon, 17 Aug 2009 15:36:06 +0000 (17 10:36 -0500)]
VCSAnnotate:  jump to current line.

This rule applies only if no arguments are specified.

14 years agoIf svk thinks we're interactive (eg macvim), tell it not to create a local repov1.99.35
Adam Lickel [Mon, 11 Jan 2010 23:02:25 +0000 (11 15:02 -0800)]
If svk thinks we're interactive (eg macvim), tell it not to create a local repo

14 years agovcshg: Added annotate syntax file for HG.v1.99.34
Bob Hiestand [Mon, 11 Jan 2010 18:08:02 +0000 (11 12:08 -0600)]
vcshg:  Added annotate syntax file for HG.

14 years agovcshg: Added split annotate view.v1.99.33
Bob Hiestand [Fri, 8 Jan 2010 16:16:25 +0000 (8 10:16 -0600)]
vcshg:  Added split annotate view.

14 years agovcshg: Add username to blame output.
Bob Hiestand [Fri, 8 Jan 2010 16:09:53 +0000 (8 10:09 -0600)]
vcshg:  Add username to blame output.

14 years agovcshg: Fixed variable assignment bug in GetBufferInfo.
Bob Hiestand [Fri, 8 Jan 2010 15:47:51 +0000 (8 09:47 -0600)]
vcshg:  Fixed variable assignment bug in GetBufferInfo.

14 years agovcshg: Identify hg version control when not in the root of a repository.v1.99.32
Bob Hiestand [Wed, 6 Jan 2010 21:00:14 +0000 (6 15:00 -0600)]
vcshg:  Identify hg version control when not in the root of a repository.

14 years agoReplace system() with wrapper to protect quotes in Windows.
Bob Hiestand [Thu, 10 Dec 2009 21:37:48 +0000 (10 15:37 -0600)]
Replace system() with wrapper to protect quotes in Windows.

14 years agoCreated utility function Dictionary.
Bob Hiestand [Tue, 8 Dec 2009 21:23:32 +0000 (8 15:23 -0600)]
Created utility function Dictionary.

14 years agoAdded s:Executable() function to all plugins.
Bob Hiestand [Tue, 24 Nov 2009 14:51:04 +0000 (24 08:51 -0600)]
Added s:Executable() function to all plugins.

s:Executable() returns the name of the executable quoted to preserve
spaces.

14 years agovcscvs: Made GetRevision() script-local.
Bob Hiestand [Thu, 10 Dec 2009 21:15:31 +0000 (10 15:15 -0600)]
vcscvs:  Made GetRevision() script-local.

14 years agoRemoved -- from vcsgit implementation of blame commandline made incorrect by a26f3b.
Bob Hiestand [Wed, 9 Dec 2009 19:41:09 +0000 (9 13:41 -0600)]
Removed -- from vcsgit implementation of blame commandline made incorrect by a26f3b.

14 years agoRemoved statement that extensions should be placed in a 'vcscommand' subdirectory.
Bob Hiestand [Wed, 9 Dec 2009 19:29:45 +0000 (9 13:29 -0600)]
Removed statement that extensions should be placed in a 'vcscommand' subdirectory.

14 years agoAdded -- to differentiate file names in system() calls.
Bob Hiestand [Tue, 8 Dec 2009 21:58:25 +0000 (8 15:58 -0600)]
Added -- to differentiate file names in system() calls.

14 years agogitAnnotate.vim: match original commits in blame
Michael Wookey [Thu, 3 Dec 2009 10:19:35 +0000 (3 21:19 +1100)]
gitAnnotate.vim: match original commits in blame

When using the "git blame" output, the first column contains the partial
commit SHA1 of when the content of the current line was last modified.

For lines that have not been altered since their original commit, the
partial SHA1 is prefixed with a '^' symbol. Update the regex to account
for the optional '^' symbol.

Signed-off-by: Michael Wookey <michaelwookey@gmail.com>
14 years agovcsbzr: moved setting of 'cpo' to after all finish possibilities.
Bob Hiestand [Sat, 5 Dec 2009 23:47:56 +0000 (5 17:47 -0600)]
vcsbzr:  moved setting of 'cpo' to after all finish possibilities.

14 years agovcsbzr: Add VCSCommandDisableAll kill switch.
Ingo Karkat [Sat, 5 Dec 2009 23:07:53 +0000 (5 17:07 -0600)]
vcsbzr:  Add VCSCommandDisableAll kill switch.

14 years agoRemoved trailing white space in source.
Bob Hiestand [Sat, 5 Dec 2009 22:48:04 +0000 (5 16:48 -0600)]
Removed trailing white space in source.

14 years agovcsbzr: use annotate split mode.
Benoît PIERRE [Sat, 5 Dec 2009 22:40:45 +0000 (5 16:40 -0600)]
vcsbzr:  use annotate split mode.

14 years agodoc: Refer to VIM help for <Leader> where appropriate.
Bob Hiestand [Mon, 27 Jul 2009 18:13:27 +0000 (27 13:13 -0500)]
doc:  Refer to VIM help for <Leader> where appropriate.

14 years agovcshg: remove execute permissions
Michael Wookey [Sun, 16 Aug 2009 10:56:05 +0000 (16 20:56 +1000)]
vcshg: remove execute permissions

The mode should be 644 not 755.

Signed-off-by: Michael Wookey <michaelwookey@gmail.com>
15 years agoInitial version of mercurial support.v1.99.31
Martin Felis [Tue, 21 Jul 2009 13:37:38 +0000 (21 08:37 -0500)]
Initial version of mercurial support.

15 years agoMerge branch 'dev/bzr' into next
Bob Hiestand [Tue, 21 Jul 2009 19:59:31 +0000 (21 14:59 -0500)]
Merge branch 'dev/bzr' into next

15 years agoAdded VCSAnnotate! (and VCSBlame!) to split the resulting buffer into separate header...
Bob Hiestand [Tue, 21 Jul 2009 19:58:17 +0000 (21 14:58 -0500)]
Added VCSAnnotate! (and VCSBlame!) to split the resulting buffer into separate header and content windows.

15 years agovcsgit: Added syntax file for annotation buffer.
Bob Hiestand [Tue, 21 Jul 2009 19:54:51 +0000 (21 14:54 -0500)]
vcsgit:  Added syntax file for annotation buffer.

15 years agovcsbzr: Narrowed effects of 'allowNonZeroExit' to only VCSDiff.
Bob Hiestand [Mon, 10 Nov 2008 20:05:33 +0000 (10 14:05 -0600)]
vcsbzr:  Narrowed effects of 'allowNonZeroExit' to only VCSDiff.

15 years agovcsbzr: added allowNonZeroExit to the options in DoCommand.
iacobs [Mon, 10 Nov 2008 19:56:01 +0000 (10 13:56 -0600)]
vcsbzr: added allowNonZeroExit to the options in DoCommand.

This avoids erroring when bzr diff exits with status 1.

15 years agovcsbzr: updated to work with latest VCSCommand.
neilmartinsenburrell [Mon, 10 Nov 2008 19:53:16 +0000 (10 13:53 -0600)]
vcsbzr:  updated to work with latest VCSCommand.

Here is a version that works with the latest VCSCommand (non-optional
fourth argument to VCSCommandDoCommand) and is specialized for Bazaar's
working model: lock and unlock are no-ops and the VCSInfo command maps
most naturally to Bazaar's version-info command.

15 years agovcsbzr: Initial version of BZR plugin.
iacobs [Mon, 10 Nov 2008 19:40:28 +0000 (10 13:40 -0600)]
vcsbzr:  Initial version of BZR plugin.

15 years agovcscvs: Remove extraneous debug message issued by recent cvs.v1.99.30
Bob Hiestand [Mon, 20 Jul 2009 20:29:04 +0000 (20 15:29 -0500)]
vcscvs:  Remove extraneous debug message issued by recent cvs.

15 years agovcscvs: Removed useless (and bug-inspiring) aunmenu.
Bob Hiestand [Mon, 1 Jun 2009 18:29:23 +0000 (1 13:29 -0500)]
vcscvs:  Removed useless (and bug-inspiring) aunmenu.

15 years agoFixed typo in sample macro documentation.
apcrh7 [Tue, 10 Feb 2009 20:57:52 +0000 (10 14:57 -0600)]
Fixed typo in sample macro documentation.

15 years agoDocumented the 'VCSCommandVCSTypeOverride' variable.v1.99.29
Bob Hiestand [Thu, 18 Dec 2008 20:07:55 +0000 (18 14:07 -0600)]
Documented the 'VCSCommandVCSTypeOverride' variable.

15 years agoAdded 'VCSCommandVCSTypeOverride' option.
Bob Hiestand [Thu, 18 Dec 2008 17:31:46 +0000 (18 11:31 -0600)]
Added 'VCSCommandVCSTypeOverride' option.

This option, if set, overrides the normal VCS detection on a
path-by-path basis.

15 years agoMode change on vcsgit.vim.
Bob Hiestand [Mon, 10 Nov 2008 19:44:32 +0000 (10 13:44 -0600)]
Mode change on vcsgit.vim.

16 years agoVCSVimDiff: fixed use of 'horizontal' in &diffopt.v1.99.28
Bob Hiestand [Tue, 16 Sep 2008 22:22:05 +0000 (16 17:22 -0500)]
VCSVimDiff:  fixed use of 'horizontal' in &diffopt.

Minor changes for readability.

16 years agoMerge commit 'jamessan/master' into dev/use-diffopt
Bob Hiestand [Tue, 16 Sep 2008 22:04:14 +0000 (16 17:04 -0500)]
Merge commit 'jamessan/master' into dev/use-diffopt

16 years agovcssvn: prevent hangs caused by querying the user for input by specifying '--non...
Bob Hiestand [Tue, 16 Sep 2008 20:43:37 +0000 (16 15:43 -0500)]
vcssvn:  prevent hangs caused by querying the user for input by specifying '--non-interactive' on the appropriate commands.

16 years agoAdd 'VCSCommandDisableAll' variable to prevent the plugin or any extensions from...
Bob Hiestand [Fri, 29 Aug 2008 18:07:30 +0000 (29 13:07 -0500)]
Add 'VCSCommandDisableAll' variable to prevent the plugin or any extensions from loading.

16 years agoDo not fail out of plugin at first failed mapping. Indicate mapping conflicts only... v1.99.27
Bob Hiestand [Thu, 28 Aug 2008 14:52:20 +0000 (28 09:52 -0500)]
Do not fail out of plugin at first failed mapping.  Indicate mapping conflicts only if 'verbose' is set.

Add new option 'VCSCommandMapPrefix' for overriding the default prefix '<Leader>c' in mappings.

Add new option 'VCSCommandMappings' to completely override all default mappings.