Mercurial : How to modify a specific revision?
質問
The Scenario is as follows:
- I cloned a Repo locally and made some changes and then committed.
hg clone test
vim abc
hg commit
Say the above gives me revision 1
I send this revision for review.
I make some more changes and make another commit.
vim xyz
hg commit
This gives us another revision say revision 2
Again, I send this as a new revision for review
I make some more changes and have some uncommitted changes.
vim 123
- I get a request to update revision 1 with some more changes as a priority task.
Questions::
Q1 Now how do i make changes to Revision 1 ?
Q2 How do i get the differential between revision 0 and revision 1 to update the 1st review i sent ?
解決
- There are not rebase here
- 'hg help update' for returning back to any previous changeset (hg up, edit, commit, merge)
- Storing unfinished 123 - commit, or shelve, or mq-patch
所属していません StackOverflow