Undoing a commit in my personal repository

Aardwolf toiletpot at gmail.com
Thu Apr 22 10:13:26 CDT 2010


Suppose I have this situation:

*) I did a commit in my repository
*) I did pull and update
*) There are also still a few uncommitted files in my working directory

Now I want the following:

*) Still have the uncommitted files in my working directory
*) Also undo the commit in my repository: have those changes also be moved
back again to my working directory and the commit be undone

hg rollback doesn't work, that seems to roll back the pull instead of the
commit, and can't be done twice in a row.

I've read somewhere that there exist things to change history. Changing
history in my personal repository shouldn't affect anyone.

How can I do this (move the last commit to my working directory), and which
extensions are needed for it? Is there maybe an extension that allows using
rollback multiple times?

I've tried to read this http://mercurial.selenic.com/wiki/EditingHistory,
but the examples don't seem to involve the working directory, so I'm not
sure if that's what I want?

Thanks.
-- 
View this message in context: http://old.nabble.com/Undoing-a-commit-in-my-personal-repository-tp28330281p28330281.html
Sent from the Mercurial mailing list archive at Nabble.com.



More information about the Mercurial mailing list