Closed GoogleCodeExporter closed 8 years ago
Update:
I found the zip file I downloaded, vcscommand-1.99.42.zip
Original comment by stephen....@gmail.com
on 16 Feb 2011 at 10:03
Please take a look at the VCSCommandVCSTypeOverride variable. You can do
something like the following in your vimrc:
let VCSCommandVCSTypeOverride=[["^/cygdrive/f/src", "HG"]]
... changing the path to the appropriate place. This allows very fine-grained
control of which VCS to apply to a given path.
Original comment by bob.hies...@gmail.com
on 3 Jun 2011 at 9:03
If you want to globally prefer a VCS over other ones that match, you can use
the plugin at the following link:
http://repo.or.cz/w/vcscommand.git/snapshot/dev/preferred.zip
That version implements a preference option, 'VCSCommandVCSTypePreference'.
You can use that to specify, for instance,
let VCSCommandVCSTypePreference=['hg']
I'm still considering more options to explicitly control the type for a given
command.
Original comment by bob.hies...@gmail.com
on 7 Jul 2011 at 4:24
Going back to the original request for a more dynamic, command-by-command
override, if you use the version at the following link:
http://repo.or.cz/w/vcscommand.git/snapshot/dev/override.zip
... you can then define your own commands in your vimrc similar to:
:com! -nargs=+ HG let VCSCommandVCSTypeExplicitOverride='HG'|execute <q-args>
|unlet VCSCommandVCSTypeExplicitOverride
:com! -nargs=+ CVS let VCSCommandVCSTypeExplicitOverride='CVS'|execute <q-args>
|unlet VCSCommandVCSTypeExplicitOverride
Having done that, you could then do:
:CVS VCSLog
:HG VCSDiff
Please let me know if that answers your need.
Original comment by bob.hies...@gmail.com
on 7 Jul 2011 at 5:26
Closing due to inactivity.
Original comment by bob.hies...@gmail.com
on 3 Oct 2011 at 5:27
Original issue reported on code.google.com by
stephen....@gmail.com
on 16 Feb 2011 at 9:56