[Bug 5777] New: prepushkey hook doesn't fire for bookmarks transferred via bundle2 in 4.5-rc

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Jan 29 23:38:20 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5777

            Bug ID: 5777
           Summary: prepushkey hook doesn't fire for bookmarks transferred
                    via bundle2 in 4.5-rc
           Product: Mercurial
           Version: default branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: regression
          Severity: bug
          Priority: urgent
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at mercurial-scm.org

Starting with Mercurial 4.5-rc, the prepushkey hook doesn't fire for bookmarks
if bookmarks were transferred as part of the bundle2 payload.

Before bookmarks were transferred via bundle2, it was common to use pushkey
hooks to screen for changes to phases, bookmarks, etc. While bookmarks may not
be updated via the pushkey wire protocol commands any more, I think we may want
to fire those hooks during bundle2 application in order to preserve backwards
compatibility with existing hooks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list