Differences between revisions 2 and 3
Revision 2 as of 2016-06-28 21:33:45
Size: 700
Editor: Sean Farley
Comment: clarify not moving away from the commit
Revision 3 as of 2018-10-26 23:17:49
Size: 702
Editor: Sean Farley
Comment: fix an epic typo (perhaps overeager wishing on my part)
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
'''Status: Decided at London Sprint''' '''Status: Discussed at London Sprint'''

Note:

This page is primarily intended for developers of Mercurial.

Bare Update with Bookmarks

Status: Discussed at London Sprint

/!\ This is a work in progress

Moving an active bookmark with 'hg up' is non-deterministic and will be changed. The proposed solution is to treat a bookmark as a head and stay at the current commit when a bookmark is active.

1. Goal

To preserve the current behavior a new bookmark alias will be introduced: hg update -B .

That means there are three or so patches to achieve this:

  • introduce a -B . argument to update

  • add -B to current tests

  • make a bare update no longer move the bookmark


CategoryDeveloper CategoryNewFeatures

BookmarkUpdatePlan (last edited 2018-10-26 23:17:49 by Sean Farley)