Mercurial > hgsubversion
diff __init__.py @ 241:4950b18cf949
Move fetch_command.fetch_revisions() to svncommands.pull().
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 17:49:30 +0200 |
parents | 33e885f5f86a |
children | 1272e87546ed |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -21,7 +21,7 @@ from mercurial import util as mutil from svn import core import svncommand -import fetch_command +import svncommands import tag_repo import util @@ -58,7 +58,7 @@ def svn_fetch(ui, svn_url, hg_repo_path= should_update = not os.path.exists(hg_repo_path) svn_url = util.normalize_url(svn_url) try: - res = fetch_command.fetch_revisions(ui, svn_url, hg_repo_path, **opts) + res = svncommands.pull(ui, svn_url, hg_repo_path, **opts) except core.SubversionException, e: 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'