Beispiel #1
0
 /// <exception cref="NGit.Errors.TransportException"></exception>
 protected internal override void DoPush(ProgressMonitor monitor, IDictionary <string
                                                                               , RemoteRefUpdate> refUpdates)
 {
     TransportHttp.Service svc = new TransportHttp.Service(_enclosing, TransportHttp.SVC_RECEIVE_PACK
                                                           );
     this.Init(svc.@in, svc.@out);
     base.DoPush(monitor, refUpdates);
 }
Beispiel #2
0
 /// <exception cref="NGit.Errors.TransportException"></exception>
 protected internal override void DoFetch(ProgressMonitor monitor, ICollection <Ref
                                                                                > want, ICollection <ObjectId> have)
 {
     TransportHttp.Service svc = new TransportHttp.Service(_enclosing, TransportHttp.SVC_UPLOAD_PACK
                                                           );
     this.Init(svc.@in, svc.@out);
     base.DoFetch(monitor, want, have);
 }