Mercurial: What is the benefit of fixing errors in earlier versions

Posted by Ken Earley on Stack Overflow See other posts from Stack Overflow or by Ken Earley
Published on 2010-04-23T12:41:23Z Indexed on 2010/04/23 13:03 UTC
Read the original article Hit count: 309

Filed under:
|

According to the guide, under the heading: Fixing errors in earlier revisions, it states this:

When you find a bug in some earlier revision you have two options: either you can fix it in the current code, or you can go back in history and fix the code exactly where you did it, which creates a cleaner history.

  1. How does going back in history make it cleaner? It still makes a new changeset at tip.
  2. Does it have something to do with what is recorded as it's parent?
  3. Is there a way to view the logs seeing the newly inserted changeset in that order?
  4. This lesson is under the main heading of Lone developer with nonlinear history. Is this good practice when working on a team?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about hg