--- a/mercurial/bookmarks.py Thu Feb 13 22:06:57 2020 -0500
+++ b/mercurial/bookmarks.py Thu Feb 13 22:51:17 2020 -0500
@@ -487,6 +487,8 @@
def pushbookmark(repo, key, old, new):
+ if isdivergent(key):
+ return False
if bookmarksinstore(repo):
wlock = util.nullcontextmanager()
else: