Hello,
I'm working on Windows and trying to simply connect to our
SVN server.
I've been using code similar to this:
import pysvn
def ssl_client_cert_prompt(realm, save):
print 'ssl_client_cert_prompt'
def get_login(realm,username,save):
print 'get_login'
def ssl_client_cert_password_prompt( realm, may_save ):
print 'ssl_client_cert_password_prompt'
client = pysvn.Client()
client.callback_ssl_client_cert_prompt =
ssl_client_cert_prompt
client.callback_get_login = get_login
client.callback_ssl_client_cert_password_prompt =
ssl_client_cert_password_prompt
client.ls('svn+ssh://username server/path/to/dir')
None of the callback functions get called and client.ls
raises a
ClientError with the message "Can't create tunnel: The
system cannot
find the file specified." What am I doing wrong? I
haven't found any
good examples yet for how to manage secure connections. Do I
need to
move plink.exe somewhere and/or rename it?
--Tim
............................................................
..........
The information contained in this email message is intended
only for the use of the individuals to whom it is
addressed and may contain information that is privileged and
sensitive. If the reader of this message is not
the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this
communication is strictly prohibited. If you have received
this communication in error, please notify the
sender immediately by email at the above referenced address.
Thank you.
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe pysvn.tigris.org
For additional commands, e-mail: users-help pysvn.tigris.org
|