Mercurial > hgsubversion
changeset 600:a42e9c9bbb8a
wrappers: remove unused code for compatibility with Subversion 1.4.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Wed, 31 Mar 2010 17:48:32 +0200 |
parents | 408869906fbf |
children | 0fe490ce2fbb |
files | hgsubversion/wrappers.py |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -8,7 +8,6 @@ from mercurial import node from mercurial import i18n from svn import core -from svn import delta import replay import pushmod @@ -222,15 +221,7 @@ def pull(repo, source, heads=[], force=F 'only numbers work.' % checkout) have_replay = not repo.ui.configbool('hgsubversion', 'stupid') - if have_replay and not callable( - delta.svn_txdelta_apply(None, None, None)[0]): #pragma: no cover - repo.ui.status('You are using old Subversion SWIG bindings. Replay ' - 'will not work until you upgrade to 1.5.0 or newer. ' - 'Falling back to a slower method that may be buggier. ' - 'Please upgrade, or contribute a patch to use the ' - 'ctypes bindings instead of SWIG.\n') - have_replay = False - elif not have_replay: + if not have_replay: repo.ui.note('fetching stupidly...\n') # TODO: do credentials specified in the URL still work?