Mercurial > hg
comparison hgext/convert/transport.py @ 5126:117dab48ca99
convert: support windows SVN simple auth provider
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Thu, 02 Aug 2007 23:38:32 +0200 |
parents | cdd33a048289 |
children | 792c1d979097 |
comparison
equal
deleted
inserted
replaced
5125:90be02035993 | 5126:117dab48ca99 |
---|---|
45 svn.client.get_username_provider(pool), | 45 svn.client.get_username_provider(pool), |
46 svn.client.get_ssl_client_cert_file_provider(pool), | 46 svn.client.get_ssl_client_cert_file_provider(pool), |
47 svn.client.get_ssl_client_cert_pw_file_provider(pool), | 47 svn.client.get_ssl_client_cert_pw_file_provider(pool), |
48 svn.client.get_ssl_server_trust_file_provider(pool), | 48 svn.client.get_ssl_server_trust_file_provider(pool), |
49 ] | 49 ] |
50 # Platform-dependant authentication methods | |
51 if hasattr(svn.client, 'get_windows_simple_provider'): | |
52 providers.append(svn.client.get_windows_simple_provider(pool)) | |
53 | |
50 return svn.core.svn_auth_open(providers, pool) | 54 return svn.core.svn_auth_open(providers, pool) |
51 | 55 |
52 class NotBranchError(SubversionException): | 56 class NotBranchError(SubversionException): |
53 pass | 57 pass |
54 | 58 |