Created
April 8, 2015 22:21
-
-
Save gabber12/826f7eea5efd56975090 to your computer and use it in GitHub Desktop.
Pysvn setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pysvn | |
def get_login( realm, username, may_save ): | |
svn_username = settings.SVN_USERNAME | |
svn_password = settings.SVN_PASSWORD | |
return True, svn_username, svn_password, True | |
def ssl_server_trust_prompt(trust_dict): | |
return True, 5, True | |
def get_log_message(): | |
return True,"For issue" | |
client = pysvn.Client() | |
client.callback_get_login = get_login | |
client.callback_ssl_server_trust_prompt = ssl_server_trust_prompt | |
client.callback_get_log_message = get_log_message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment