Feature request: mark "dead ends"

Hans Meine meine at informatik.uni-hamburg.de
Mon Dec 1 08:52:56 CST 2008


Hi again,

in one of my repositories I have checked in some changeset X for feature A 
which I could never made to work.  Later, I have restarted from X's parent and 
some dozens of revisions later I finished the same feature A in another way.
Now I have this extra head with the unfinished changes which I don't need 
anymore.

This extra head gets in my way when using "hgview" (it always appears at the 
very top, although it is very old).

AFAICS, I have three options:
1) Use a dummy merge to make the unnamed branch inactive.  That would look 
like I actually used code from my first try, which I did not.
2) Use strip/mq/convert etc. to remove this head from my repo.  I have no 
intention to do this.
3) Leave it as it is, and try to fix hgview for example.

I would like to have option 4) - mark the branch as inactive without merging 
it.  Apparently, this is not yet possible with hg, right?

What do you people think?  (I bet most people are content with opion 1, but 
what do you think about 4?)

Have a nice day,
  Hans


More information about the Mercurial mailing list