public void setLocation(SVNURL url, boolean forceReconnect) throws SVNException { // attempt to use reparent. if (reparent(url)) { super.setLocation(url, false); return; } super.setLocation(url, true); myRealm = null; }
private void openConnection() throws SVNException { if (myConnection != null) { // attempt to reparent, close connection if reparent failed. if (reparent(getLocation())) { return; } } lock(); ISVNConnector connector = SVNRepositoryFactoryImpl.getConnectorFactory().createConnector(this); myConnection = new SVNConnection(connector, this); try { myConnection.open(this); authenticate(); } finally { myRealm = myConnection.getRealm(); } }
if (reparent(url)) { myLocation = url; return;
if (reparent(url)) { myLocation = url; return;
if (reparent(url)) { myLocation = url; return;
protected void openConnection() throws SVNException { lock(); fireConnectionOpened(); // check if connection is stale. if (myConnection != null && myConnection.isConnectionStale()) { closeSession(); } if (myConnection != null) { if (reparent(getLocation())) { return; } closeSession(); } ISVNConnector connector = SVNRepositoryFactoryImpl.getConnectorFactory().createConnector(this); myConnection = new SVNConnection(connector, this); try { myConnection.open(this); authenticate(); } finally { if (myConnection != null) { myRealm = myConnection.getRealm(); } } }
protected void openConnection() throws SVNException { fireConnectionOpened(); lock(); // check if connection is stale. if (myConnection != null && myConnection.isConnectionStale()) { closeSession(); } if (myConnection != null) { if (reparent(getLocation())) { return; } closeSession(); } ISVNConnector connector = SVNRepositoryFactoryImpl.getConnectorFactory().createConnector(this); myConnection = new SVNConnection(connector, this); try { myConnection.open(this); authenticate(); } finally { if (myConnection != null) { myRealm = myConnection.getRealm(); } } }
protected void openConnection() throws SVNException { lock(); fireConnectionOpened(); // check if connection is stale. if (myConnection != null && myConnection.isConnectionStale()) { closeSession(); } if (myConnection != null) { if (reparent(getLocation())) { return; } closeSession(); } ISVNConnector connector = SVNRepositoryFactoryImpl.getConnectorFactory().createConnector(this); myConnection = new SVNConnection(connector, this); try { myConnection.open(this); authenticate(); } finally { if (myConnection != null) { myRealm = myConnection.getRealm(); } } }