orphaned bookmarks

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Apr 2 20:11:24 UTC 2013


On 2 Apr 2013, at 10:58 AM, Christian Widmer wrote:

> hi
> 
> stripping a revision with bookmark moves the bookmark to its ancestor. i find that a bit confusing as the revision 1 was never part of the feature branch which has been eliminated by the strip command.

We (currently) have no way of knowing what revision the bookmark was originally set on, so you'd end up losing bookmarks with no way to get them back if you had actually wanted them. I've thought a bit in the past about how to solve this, but haven't come up with anything solid. So for now, I think the current behavior is about the best we can do.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock




More information about the Mercurial mailing list