Mercurial > hgsubversion
diff __init__.py @ 228:f71af18c4379
Merge with crew.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 07 Apr 2009 13:48:58 -0500 |
parents | 2165461d2dd8 |
children | 33e885f5f86a 79440ed81011 |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -37,7 +37,7 @@ def svn(ui, repo, subcommand, *args, **o try: return svncommand.svncmd(ui, repo, subcommand, *args, **opts) except core.SubversionException, e: - if e.apr_err == 230001: + if e.apr_err == core.SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED: raise mutil.Abort('It appears svn does not trust the ssl cert for this site.\n' 'Please try running svn ls on that url first.') raise @@ -60,7 +60,7 @@ def svn_fetch(ui, svn_url, hg_repo_path= try: res = fetch_command.fetch_revisions(ui, svn_url, hg_repo_path, **opts) except core.SubversionException, e: - if e.apr_err == 230001: + if e.apr_err == core.SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED: raise mutil.Abort('It appears svn does not trust the ssl cert for this site.\n' 'Please try running svn ls on that url first.') raise