Пример #1
0
		/// <param name="newHead">commit the head points at after this cherry-pick</param>
		/// <param name="cherryPickedRefs">list of successfully cherry-picked <code>Ref</code>'s
		/// 	</param>
		public CherryPickResult(RevCommit newHead, IList<Ref> cherryPickedRefs)
		{
			this.status = CherryPickResult.CherryPickStatus.OK;
			this.newHead = newHead;
			this.cherryPickedRefs = cherryPickedRefs;
			this.failingPaths = null;
		}
Пример #2
0
 /// <param name="newHead">commit the head points at after this cherry-pick</param>
 /// <param name="cherryPickedRefs">list of successfully cherry-picked <code>Ref</code>'s
 ///     </param>
 public CherryPickResult(RevCommit newHead, IList <Ref> cherryPickedRefs)
 {
     this.status           = CherryPickResult.CherryPickStatus.OK;
     this.newHead          = newHead;
     this.cherryPickedRefs = cherryPickedRefs;
     this.failingPaths     = null;
 }
Пример #3
0
 private CherryPickResult(CherryPickResult.CherryPickStatus status)
 {
     this.status           = status;
     this.newHead          = null;
     this.cherryPickedRefs = null;
     this.failingPaths     = null;
 }
Пример #4
0
 /// <param name="failingPaths">
 /// list of paths causing this cherry-pick to fail (see
 /// <see cref="NGit.Merge.ResolveMerger.GetFailingPaths()">NGit.Merge.ResolveMerger.GetFailingPaths()
 ///     </see>
 /// for details)
 /// </param>
 public CherryPickResult(IDictionary <string, ResolveMerger.MergeFailureReason> failingPaths
                         )
 {
     this.status           = CherryPickResult.CherryPickStatus.FAILED;
     this.newHead          = null;
     this.cherryPickedRefs = null;
     this.failingPaths     = failingPaths;
 }
Пример #5
0
		/// <param name="failingPaths">
		/// list of paths causing this cherry-pick to fail (see
		/// <see cref="NGit.Merge.ResolveMerger.GetFailingPaths()">NGit.Merge.ResolveMerger.GetFailingPaths()
		/// 	</see>
		/// for details)
		/// </param>
		public CherryPickResult(IDictionary<string, ResolveMerger.MergeFailureReason> failingPaths
			)
		{
			this.status = CherryPickResult.CherryPickStatus.FAILED;
			this.newHead = null;
			this.cherryPickedRefs = null;
			this.failingPaths = failingPaths;
		}
Пример #6
0
		private CherryPickResult(CherryPickResult.CherryPickStatus status)
		{
			this.status = status;
			this.newHead = null;
			this.cherryPickedRefs = null;
			this.failingPaths = null;
		}