D6776: bookmarks: validate changes on push

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Mon Sep 9 11:42:51 EDT 2019


durin42 added a comment.


  Clarifying I understand: this causes pushing a bookmark to fail in what cases that it currently succeeds? I think it's just the case of:
  
    o 2
    |  o 1 @
    o/ 0
  
  when I last pulled, `@` was on 0, and now I'm doing `hg push -B @`, but since my last pull the server advanced `@` to 2, meaning it's a non-linear update. Right?
  
  If so, I wholeheartedly approve, as this behavior has previously burned me and I think it's well past time we started breaking some compatibility edges on bookmarks to make them actually useful to share.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6776/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6776

To: idlsoft, #hg-reviewers
Cc: durin42, valentin.gatienbaron, mercurial-devel


More information about the Mercurial-devel mailing list