Esempio n. 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;
		}
Esempio n. 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;
 }
Esempio n. 3
0
 private CherryPickResult(CherryPickResult.CherryPickStatus status)
 {
     this.status           = status;
     this.newHead          = null;
     this.cherryPickedRefs = null;
     this.failingPaths     = null;
 }
Esempio n. 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;
 }
Esempio n. 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;
		}
Esempio n. 6
0
		private CherryPickResult(CherryPickResult.CherryPickStatus status)
		{
			this.status = status;
			this.newHead = null;
			this.cherryPickedRefs = null;
			this.failingPaths = null;
		}