|
|
|
|
|
|
|
|
init(process.getInputStream(), process.getOutputStream()); |
|
|
init(process.getInputStream(), process.getOutputStream()); |
|
|
|
|
|
|
|
|
} catch (TransportException err) { |
|
|
} catch (TransportException err) { |
|
|
|
|
|
close(); |
|
|
throw err; |
|
|
throw err; |
|
|
} catch (Throwable err) { |
|
|
} catch (Throwable err) { |
|
|
|
|
|
close(); |
|
|
throw new TransportException(uri, |
|
|
throw new TransportException(uri, |
|
|
JGitText.get().remoteHungUpUnexpectedly, err); |
|
|
JGitText.get().remoteHungUpUnexpectedly, err); |
|
|
} finally { |
|
|
|
|
|
close(); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
|
|
|
|
|
|
init(process.getInputStream(), process.getOutputStream()); |
|
|
init(process.getInputStream(), process.getOutputStream()); |
|
|
|
|
|
|
|
|
} catch (TransportException err) { |
|
|
} catch (TransportException err) { |
|
|
|
|
|
try { |
|
|
|
|
|
close(); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
// ignore |
|
|
|
|
|
} |
|
|
throw err; |
|
|
throw err; |
|
|
} catch (Throwable err) { |
|
|
} catch (Throwable err) { |
|
|
|
|
|
try { |
|
|
|
|
|
close(); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
// ignore |
|
|
|
|
|
} |
|
|
throw new TransportException(uri, |
|
|
throw new TransportException(uri, |
|
|
JGitText.get().remoteHungUpUnexpectedly, err); |
|
|
JGitText.get().remoteHungUpUnexpectedly, err); |
|
|
} finally { |
|
|
|
|
|
close(); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
try { |
|
|
try { |