protected void doFetch(ProgressMonitor monitor, List <Ref> want, List <ObjectId> have) { try { MarkRefsAdvertised(); MarkReachable(have, MaxTimeWanted(want)); if (SendWants(want)) { Negotiate(monitor); _walk.Dispose(); _reachableCommits = null; ReceivePack(monitor); } } catch (CancelledException) { Close(); return; } catch (IOException err) { Close(); throw new TransportException(err.Message, err); } }
protected void doFetch(ProgressMonitor monitor, ICollection <Ref> want, IList <ObjectId> have) { try { MarkRefsAdvertised(); MarkReachable(have, MaxTimeWanted(want)); if (SendWants(want)) { Negotiate(monitor); _walk.Dispose(); _reachableCommits = null; ReceivePack(monitor); } } catch (CancelledException) { Dispose(); return; // Caller should test (or just know) this themselves. } catch (IOException err) { Dispose(); throw new TransportException(err.Message, err); } catch (Exception err) { Dispose(); throw new TransportException(err.Message, err); } }
public void Dispose() { _revWalk.Dispose(); COMPLETE.Dispose(); IN_WORK_QUEUE.Dispose(); LOCALLY_SEEN.Dispose(); _objectDigest.Dispose(); }
public void Dispose() { _walk.Dispose(); ADVERTISED.Dispose(); WANT.Dispose(); PEER_HAS.Dispose(); COMMON.Dispose(); _rawIn.Dispose(); _rawOut.Dispose(); }
public void Dispose() { _walk.Dispose(); ADVERTISED.Dispose(); WANT.Dispose(); PEER_HAS.Dispose(); COMMON.Dispose(); if (_rawIn != null) { _rawIn.Dispose(); } if (_rawOut != null) { _rawOut.Dispose(); } }
public void Dispose() { _walk.Dispose(); ADVERTISED.Dispose(); }
public void Dispose() { _walk.Dispose(); }
public void Dispose() { _walker.Dispose(); _transport.Dispose(); }