Bookmarks with hg update question

Scott Palmer swpalmer at gmail.com
Thu Jun 30 23:59:01 UTC 2016


> On Jun 30, 2016, at 6:43 PM, Sietse Brouwer <sbbrouwer at gmail.com> wrote:
> 
>> On 29 June 2016 at 03:18, Scott Palmer <swpalmer at gmail.com> wrote:
>> As long as “hg update -B .” or whatever it is keeps the behaviour that it won't jump to a different topological branch, I will adapt.
> [...]
>> “hg update” is harmless because it won’t jump branches.
> 
> Would I be correct that you're worried that if `hg up` no longer moves
> the current bookmark forward, and one must use `hg bookmark` (or `hg
> up -B`) to move a bookmark, then it will become possible to
> accidentally move a bookmark backwards or across to another branch
> when using `hg bookmark`?
> 

Correct, I just want to make sure that doesn't happen as a result of the proposed changes.

Scott


More information about the Mercurial mailing list