mercurialtortoisehg

Can you hide obsolete or orphan changsets in TortoiseHG?


Having used hg evolve for a while TortoiseHG (version 5.6.1 on Windows) now shows a large number of obsolete changesets.

These show up red or gray, like this:

enter image description here

When you select one of these, THG will tell you:

Obsolete state: orphan (red items)

or

Obsolete state: obsolete (gray items)

For the most part I don't need to know about these anymore, and it would be nice to just remove them from the view (but not from the repository). Ideally I'd like the red & gray line items to just not be shown.

Looking in the THG settings and also THG documentation (1, 2) as well as web searches I haven't been able to find a way to do this. (The relevant actual Mercurial docs don't mention THG at all).

Is it possible to hide orphaned or obsolete changesets in THG?


Solution

  • If you enable the search toolbar, there is an icon to enable/disable hidden changesets. Caveat: I'm currently running 5.0.2 so it may be different in 5.6.1 but it should still be there.

    image highlighting search button and relevant icon

    This may still show orphans (red) but those are supposed to be dealt with. If you evolve or prune them, they will become obsolete and can be hidden.