Mercurial > hg-website
comparison hgscm/templates/workflow_guide.html @ 196:f56228c27391
workflow guide: changed 'we' to 'you' in one more place.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Wed, 10 Jun 2009 20:07:48 +0200 |
parents | c3b7cf9896aa |
children | b17731a54e2a |
comparison
equal
deleted
inserted
replaced
195:5bc5fe45852a | 196:f56228c27391 |
---|---|
593 | 593 |
594 <p>Note: The basic commands don't directly rewrite history. If you want to do that, you need to activate some of the extensions which are shipped with mercurial. We'll come to that later on.</p> | 594 <p>Note: The basic commands don't directly rewrite history. If you want to do that, you need to activate some of the extensions which are shipped with mercurial. We'll come to that later on.</p> |
595 | 595 |
596 <h3>Workflow</h3> | 596 <h3>Workflow</h3> |
597 | 597 |
598 <p>Let's assume the bad change was revision 3, and we already have one more revision in our repository. To remove the bad code, we just <hg>backout</hg> of it. This creates a new change which reverses the bad change. After backing out, we merge that new change into the current code.</p> | 598 <p>Let's assume the bad change was revision 3, and you already have one more revision in your |
599 repository. To remove the bad code, you can just <hg>backout</hg> of it. This creates a new | |
600 change which reverses the bad change. After backing out, you can then merge that new change | |
601 into the current code.</p> | |
599 | 602 |
600 <pre>$ hg backout 3 | 603 <pre>$ hg backout 3 |
601 $ hg merge | 604 $ hg merge |
602 (potentially resolve conflicts) | 605 (potentially resolve conflicts) |
603 $ hg commit | 606 $ hg commit |