Open GoogleCodeExporter opened 9 years ago
I suspect most of the plugin's users already cache their VCS passwords, and
rely on
their workstation's security.
Would you want to enter the user / password for each command, or once per
session?
It might be possible to catch that error and request the user/password and
explicitly
send them.
Patches are welcome.
Original comment by bob.hies...@gmail.com
on 30 Oct 2009 at 7:01
On each command.
Once per session would be a good option for most people, but I would still keep
the
plugin to ask on each command. It's not always I need a repository access
command.
In svn the diff and status commands operate on the working copy only.
I would patch it (to at least accept --username/--password as command
arguments) but
I would need to learn vim scripting language first ...
Original comment by terminatorul@gmail.com
on 30 Oct 2009 at 10:50
[deleted comment]
[deleted comment]
[deleted comment]
Here is a patch (against v1.99.46, the current git HEAD) to add a Vim prompt
for username and password when needed, and also a prompt to trust a server
certificate when issuer is not know.
Also updated the help file to include the 4 extra configuration options used
(VCSCommandUsername, VCSCommandPassword, VCSCommandTrustServerCertificate,
VCSCommandPersistSessionCredentials).
Tested on:
- Ubuntu 11.10 64-bit, svn 1.6.12, Vim 7.3
- CentOS 6.3 64-bit, Vim 7.2, svn 1.6.11 and 1.7.4
but should also work on other systems and versions.
Original comment by terminatorul@gmail.com
on 5 Sep 2012 at 5:38
Attachments:
I second the need for this. I use svn over https and choose not to cache my
password.
Original comment by vex...@gmail.com
on 12 Sep 2012 at 10:53
I third the motion. terminat's patch worked great (GVIM 7.3; Windows 7), once I
modified it to SVN unified diff format (I used TortoiseMerge to patch). I'd
like to see this feature rolled into the main branch, if possible.
Original comment by gfix...@gmail.com
on 25 Sep 2012 at 12:58
Original issue reported on code.google.com by
terminatorul@gmail.com
on 12 Oct 2009 at 11:09