Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
711 views
in Technique[技术] by (71.8m points)

mercurial - 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?

question from:https://stackoverflow.com/questions/66047390/can-you-hide-obsolete-or-orphan-changsets-in-tortoisehg

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...