mercurialtransplant

Transplant into workspace without commiting


Is there a way to have transplant a single changeset without commiting? I'd like to be able to review the changes prior to doing a commit.


Solution

  • hg transplant always results in a new changeset in your repository.

    However, you could:

    1. Use hg export and hg import --no-commit instead OR
    2. Use hg transplant and then hg strip if you don't like the changeset