How can I mark a file as descended from 2 other files in Mercurial?

Posted by Matt Joiner on Stack Overflow See other posts from Stack Overflow or by Matt Joiner
Published on 2010-06-02T12:36:35Z Indexed on 2010/06/02 12:44 UTC
Read the original article Hit count: 270

Filed under:

I had 2 Python similar scripts, that I've since merged into one (and now takes some parameters to differ the behaviour appropriately). Both of the previous files are in the tip of my Mercurial repository. How can I indicate that the new file, is a combination of the 2 older files that I intend to remove?

Also note, that 1 file has been chosen in favor of the other, and some code moved across, so if it's not possible to create a version controlled file with a new name, then assimilating one file's history into the other will suffice.

© Stack Overflow or respective owner

Related posts about mercurial