Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graft vs. Transplant

Tags:

mercurial

The release announcement for Mercurial 2.0 mentions a new graft command, which on first sight looks similar to the transplant extension. What is the difference between these two? Does cherry picking with graft solve any problems that existed with transplant, and if so, what are these?

like image 701
Lars Tackmann Avatar asked Nov 04 '11 13:11

Lars Tackmann


People also ask

What is the difference between graft and transplant?

A transplant is an organ, tissue or a group of cells removed from one person (the donor) and transplanted into another person (the recipient) or moved from one site to another in the same person. A skin graft is a common example of a transplant from one part of a person's body to another part.

Is a graft a transplant?

A graft is an immediate transplantation of tissue which continues to live and grow in its new environment. For a graft to be successful, the cells of the transplanted tissue must obtain nutritious lymph during the period of healing.

What are the 4 types of grafts?

There are four classifications of grafts: (1) autograft (tissue removed from one site and surgically implanted into another on the same individual); (2) isograft (tissue removed from an individual and surgically grafted onto a genetically identical individual, such as an identical twin or another member of the same ...

Is graft vs host same as rejection?

Graft rejection involves immune reactivity of the recipient against transplanted allografts, while GVHD is triggered by the reactivity of donor-derived immune cells against allogeneic recipient tissues.


2 Answers

Graft uses Mercurial internal merging, while transplant relies on patch mechanism. Therefore graft should be able to handle three-way-merges better than transplant currently does.

like image 181
gizmo Avatar answered Oct 23 '22 12:10

gizmo


From the documentation of hg graft it looks like opposite to the transplant extension graft only handles branches within the same repository but can't handle different repositories.

like image 41
Peter Avatar answered Oct 23 '22 12:10

Peter