D6776: bookmarks: validate changes on push (issue6193) (BC)
idlsoft (Sandu Turcan)
phabricator at mercurial-scm.org
Sat Sep 14 02:15:27 EDT 2019
idlsoft added a comment.
> If you mean "reject bad pushes as long as people don't push -f", both versions implement this (the client-side check is not racy thanks to these check:bookmark bundle parts).
That was the idea. This implementation is a bit more flexible I think.
Since it’s server side, you don’t have to upgrade your clients.
It’s true old clients won’t be able to use —force, but new ones can.
And you can add a trigger if you want to limit who can use —force.
CHANGES SINCE LAST ACTION
To: idlsoft, #hg-reviewers, durin42
Cc: pulkit, durin42, valentin.gatienbaron, mercurial-devel
More information about the Mercurial-devel