Get commit context from within a hook
Olivier Trempe
oliviertrempe at gmail.com
Wed Aug 16 19:36:48 UTC 2017
Hi,
What would be the proper way to identify the commit context (standalone,
rebase, graft, ...) from within a pretxncommit hook.
I have a pretxncommit hook that I would like to return immediatly if the
commit is not "standalone"
By "standalone", I mean a commit occuring as part of a rebase or graft or
any other operation creating a commit other than a commit command call.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20170816/5a2bad3c/attachment.html>
More information about the Mercurial
mailing list