convert: remove `if False` block
authorAugie Fackler <raf@durin42.com>
Fri, 07 Jul 2017 15:08:23 -0400
changeset 33368 ffb30661f672
parent 33367 6029939f7e98
child 33369 d36bcba91845
convert: remove `if False` block This code has never run since its introduction on July 18th, 2007. It's time for it to go. Differential Revision: https://phab.mercurial-scm.org/D19
hgext/convert/transport.py
--- a/hgext/convert/transport.py	Fri Jul 07 15:07:36 2017 -0400
+++ b/hgext/convert/transport.py	Fri Jul 07 15:08:23 2017 -0400
@@ -81,11 +81,6 @@
         if ra is None or not util.safehasattr(svn.ra, 'reparent'):
             self.client = svn.client.create_context(self.pool)
             ab = _create_auth_baton(self.pool)
-            if False:
-                svn.core.svn_auth_set_parameter(
-                    ab, svn.core.SVN_AUTH_PARAM_DEFAULT_USERNAME, self.username)
-                svn.core.svn_auth_set_parameter(
-                    ab, svn.core.SVN_AUTH_PARAM_DEFAULT_PASSWORD, self.password)
             self.client.auth_baton = ab
             global svn_config
             if svn_config is None: