Skip to content
  • durin42's avatar
    strip: move bookmarks to nearest ancestor rather than '.' · ec7b9bec19c9
    durin42 authored
    If you've got this graph:
    
    0-1-2
       \
        3
    
    and 3 is checked out, 2 is bookmarked with "broken", and you do "hg
    strip 2", the bookmark will move to 3, not 1. That's always struck me
    as a bug.
    
    This change makes bookmarks move to the tipmost ancestor of
    the stripped set rather than the currently-checked-out revision, which
    is what I always expected should happen.
    ec7b9bec19c9