mercurial-hook
How to disable pretxncommit hooks with mercurial queues or histedit?
I have some pretxncommit hooks in my local merc开发者_如何转开发urial repository, those hooks are used to check that the commit message includes a reference to a ticket and some other sanity checks.[详细]
2023-04-10 07:51 分类:问答How to execute commandline application (bat) before mercurial commit?
I would like to execute command line application before each commit (push) to central repository. If application will execute with errors, commit should fail with some message.[详细]
2023-04-09 12:28 分类:问答How to validate and enforce commit message in Mercurial?
What are all steps required to validate commit message with set of regular expressions? We want to work in semi-centralized set-up so I need a solution for the developer clone (local repository) and[详细]
2023-04-06 08:00 分类:问答Mercurial does not send emails using changenotify
I set up a http central Mercurial repository and try to send emails on every push. I follow instructions from mercurial page and from http://morecode.wordpress.com/2007/08/03/setting-up-mercurial-to-e[详细]
2023-04-03 17:35 分类:问答Mercurial external precommit hook: get changed files list
I could get it 开发者_StackOverfloweither with hg status --change $HG_NODE or with hg log -r $HG_NODE --style mycustomstyle[详细]
2023-04-02 20:47 分类:问答How do I reference the repository's hgrc sections from within my custom hook?
I\'ve written a generic changegroup hook function that I would 开发者_StackOverflow中文版like to customize for each repository by setting some hgrc section variables, like so:[详细]
2023-03-22 05:28 分类:问答Mercurial Repository - Automatic daily hg add/hg commit command on server
I have a web server which is using mercurial as the repository.Every day, we have files being written by applicat开发者_如何学编程ions to our server and I want these to be reflected in the repository.[详细]
2023-03-12 09:49 分类:问答Why doesn't my mercurial pre-commit hook work in MinGW
I have a pre-commit hook in my .hgrc file which checks if more than 5MB of files will be added to the repository. The hook is:[详细]
2023-03-10 09:07 分类:问答hook to limit push to only one branch at a time
I’m trying to create a hook that blocks pushes to a remote repository if you are trying to push more than once branch.[详细]
2023-03-08 16:56 分类:问答Possible to use a different set of hooks for a user or group in Mercurial?
I am not sure if this is possible currently but is it possible to specify a separate set of hooks for a user or group (groups from the ACL extension).[详细]
2023-03-01 03:51 分类:问答