Let's pretend that:
- I have a repo called MyRepo.
- I have uncommitted changes in my working directory.
- I try from Repo1 and create a branch in MyRepo
- I want to merge what I already had in my repo with what I just clicked.
As described here , the merge process changes the state of the working directory.
In my scenario, I do not want to lose the uncommitted changes that are in my working directory, because at this moment I am interested in the change of state of MyRepo; not the state of my working directory.
Is there a way to go through the merge process, including resolving conflicts manually without affecting the contents of my working directory? Can this process be performed only in temporary files? Or should I postpone my changes, merge, and then unshelve to restore my working directory to the state it was before the merge?
mercurial
Sylvain
source share