# HG changeset patch # User Pierre-Yves David # Date 1395943976 25200 # Node ID 097ddcb0da2504aed732f0d1d743993db8406d79 # Parent 0ea9cecbbd28f1d0810b440774af0069d3879082 evolve: add a hook related to the new pushobsmarkers command Before the current expericment, people could hook on obsolescence marker push using pushkey. We add a new hook to serve the same purpose. diff -r 0ea9cecbbd28 -r 097ddcb0da25 hgext/evolve.py --- a/hgext/evolve.py Wed Mar 19 20:15:55 2014 -0700 +++ b/hgext/evolve.py Thu Mar 27 11:12:56 2014 -0700 @@ -2226,6 +2226,7 @@ tr.release() finally: lock.release() + repo.hook('evolve_pushobsmarkers') return wireproto.pushres(0) def _buildpullobsmerkersboundaries(pullop): diff -r 0ea9cecbbd28 -r 097ddcb0da25 hgext/simple4server.py --- a/hgext/simple4server.py Wed Mar 19 20:15:55 2014 -0700 +++ b/hgext/simple4server.py Thu Mar 27 11:12:56 2014 -0700 @@ -57,6 +57,7 @@ tr.release() finally: lock.release() + repo.hook('evolve_pushobsmarkers') return wireproto.pushres(0) # from mercurial.obsolete: 19e9478c1a22