Skip to content
Snippets Groups Projects
  • David Schleimer's avatar
    4116504d1ec4
    bookmarks: correctly update current bookmarks on rebase (issue2277) · 4116504d1ec4
    David Schleimer authored
    When you rebased with a currently active bookmark, that bookmark would
    always point at the new tip, regardless of what revision it pointed at
    before the rebase.
    
    All bookmarks will now point at the equivalent post-rebase commit.
    However, the currently active bookmark will cease to be active unless
    it points at the new tip post-rebase.  Rebase will always leave the
    new tip as the working copy parent, which is incompatible with having
    an active bookmark that points at some other revision.  The common
    case should be that the active bookmark will point at the new tip
    post-rebase.
    4116504d1ec4
    History
    bookmarks: correctly update current bookmarks on rebase (issue2277)
    David Schleimer authored
    When you rebased with a currently active bookmark, that bookmark would
    always point at the new tip, regardless of what revision it pointed at
    before the rebase.
    
    All bookmarks will now point at the equivalent post-rebase commit.
    However, the currently active bookmark will cease to be active unless
    it points at the new tip post-rebase.  Rebase will always leave the
    new tip as the working copy parent, which is incompatible with having
    an active bookmark that points at some other revision.  The common
    case should be that the active bookmark will point at the new tip
    post-rebase.