Hi Andreas,
It seems to me that the easiest thing might be to just use hg backout --merge 
to backout and merge to your current parent, then once you're done testing use 
the hg strip command (provided with mq) to rip out the backout change and the 
subsequent merge change.
Hope that helps,
Rock


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Andreas Tscharner
Sent: Monday, March 15, 2010 10:05 AM
To: mercurial; [email protected]
Subject: HOWTO: Revert exactly one changeset without commit?

Hello World,

If a new bug has been found, I sometimes suspect a specific changeset 
being the culprit. In this case, I'd like to revert exactly that 
changeset without commit (e.g. no backout) to test if it really is the 
culprit.
I haven't found anything in THG and hg revert does more than I want, 
because it reverts all changesets to the selected one.

How do I do this?
What I tried is: Export a patch of that changeset with THG and tried to 
apply it with -R option (which usually causes Win32 patch.exe to 
segfault for some unknown reason).

Thanks in advance and best regards
        Andreas
-- 
       ("`-''-/").___..--''"`-._
        `o_ o  )   `-.  (     ).`-.__.`)
        (_Y_.)'  ._   )  `._ `. ``-..-'
      _..`--'_..-_/  /--'_.' .'
     (il).-''  (li).'  ((!.-'

Andreas Tscharner   [email protected]   ICQ-No. 14356454
_______________________________________________
Mercurial mailing list
[email protected]
http://selenic.com/mailman/listinfo/mercurial

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to