~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit.Transport/BasePackFetchConnection.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
 
118
118
                /// <summary>Include tags if we are also including the referenced objects.</summary>
119
119
                /// <remarks>Include tags if we are also including the referenced objects.</remarks>
 
120
                /// <since>2.0</since>
120
121
                public static readonly string OPTION_INCLUDE_TAG = "include-tag";
121
122
 
122
123
                /// <summary>Mutli-ACK support for improved negotiation.</summary>
123
124
                /// <remarks>Mutli-ACK support for improved negotiation.</remarks>
 
125
                /// <since>2.0</since>
124
126
                public static readonly string OPTION_MULTI_ACK = "multi_ack";
125
127
 
126
128
                /// <summary>Mutli-ACK detailed support for improved negotiation.</summary>
127
129
                /// <remarks>Mutli-ACK detailed support for improved negotiation.</remarks>
 
130
                /// <since>2.0</since>
128
131
                public static readonly string OPTION_MULTI_ACK_DETAILED = "multi_ack_detailed";
129
132
 
130
133
                /// <summary>The client supports packs with deltas but not their bases.</summary>
131
134
                /// <remarks>The client supports packs with deltas but not their bases.</remarks>
 
135
                /// <since>2.0</since>
132
136
                public static readonly string OPTION_THIN_PACK = "thin-pack";
133
137
 
134
138
                /// <summary>The client supports using the side-band for progress messages.</summary>
135
139
                /// <remarks>The client supports using the side-band for progress messages.</remarks>
 
140
                /// <since>2.0</since>
136
141
                public static readonly string OPTION_SIDE_BAND = "side-band";
137
142
 
138
143
                /// <summary>The client supports using the 64K side-band for progress messages.</summary>
139
144
                /// <remarks>The client supports using the 64K side-band for progress messages.</remarks>
 
145
                /// <since>2.0</since>
140
146
                public static readonly string OPTION_SIDE_BAND_64K = "side-band-64k";
141
147
 
142
148
                /// <summary>The client supports packs with OFS deltas.</summary>
143
149
                /// <remarks>The client supports packs with OFS deltas.</remarks>
 
150
                /// <since>2.0</since>
144
151
                public static readonly string OPTION_OFS_DELTA = "ofs-delta";
145
152
 
146
153
                /// <summary>The client supports shallow fetches.</summary>
147
154
                /// <remarks>The client supports shallow fetches.</remarks>
 
155
                /// <since>2.0</since>
148
156
                public static readonly string OPTION_SHALLOW = "shallow";
149
157
 
150
158
                /// <summary>The client does not want progress messages and will ignore them.</summary>
151
159
                /// <remarks>The client does not want progress messages and will ignore them.</remarks>
 
160
                /// <since>2.0</since>
152
161
                public static readonly string OPTION_NO_PROGRESS = "no-progress";
153
162
 
154
163
                /// <summary>The client supports receiving a pack before it has sent "done".</summary>
155
164
                /// <remarks>The client supports receiving a pack before it has sent "done".</remarks>
 
165
                /// <since>2.0</since>
156
166
                public static readonly string OPTION_NO_DONE = "no-done";
157
167
 
158
168
                internal class MultiAck
240
250
 
241
251
                private class FetchConfig
242
252
                {
243
 
                        private sealed class _SectionParser_226 : Config.SectionParser<BasePackFetchConnection.FetchConfig
 
253
                        private sealed class _SectionParser_256 : Config.SectionParser<BasePackFetchConnection.FetchConfig
244
254
                                >
245
255
                        {
246
 
                                public _SectionParser_226()
 
256
                                public _SectionParser_256()
247
257
                                {
248
258
                                }
249
259
 
254
264
                        }
255
265
 
256
266
                        internal static readonly Config.SectionParser<BasePackFetchConnection.FetchConfig
257
 
                                > KEY = new _SectionParser_226();
 
267
                                > KEY = new _SectionParser_256();
258
268
 
259
269
                        internal readonly bool allowOfsDelta;
260
270
 
746
756
                        walk.ResetRetain(REACHABLE, ADVERTISED);
747
757
                        walk.MarkStart(reachableCommits);
748
758
                        walk.Sort(RevSort.COMMIT_TIME_DESC);
749
 
                        walk.SetRevFilter(new _RevFilter_619(this));
 
759
                        walk.SetRevFilter(new _RevFilter_649(this));
750
760
                }
751
761
 
752
 
                private sealed class _RevFilter_619 : RevFilter
 
762
                private sealed class _RevFilter_649 : RevFilter
753
763
                {
754
 
                        public _RevFilter_619(BasePackFetchConnection _enclosing)
 
764
                        public _RevFilter_649(BasePackFetchConnection _enclosing)
755
765
                        {
756
766
                                this._enclosing = _enclosing;
757
767
                        }
866
876
                /// to
867
877
                /// disable its request magic and ensure the pack stream is read correctly.
868
878
                /// </remarks>
 
879
                /// <since>2.0</since>
869
880
                protected internal virtual void OnReceivePack()
870
881
                {
871
882
                }