mercurial-hook
Where do you put python code for hooks
I have created a python script I want a mercurial hook to call but what I cant figure out is wher开发者_StackOverflow中文版e the working directory (or where to start the path to the script) should be[详细]
2023-02-22 01:13 分类:问答How can I share a commit-hook in mercurial with all fellow developers?
we are working with mercurial and now we would like to introduce precommit h开发者_开发技巧ooks to keep the code clean. We would like everyone to somehow get the hooks, but we would also like to be ab[详细]
2023-02-09 01:06 分类:问答Mercurial Changegroup hook varies based on branches
Is there an existing hook in Mercurial which, like changegroup, allows actions to take place on a push, but allows me to do multiple actions (or vary them) based on which branches are affected by the[详细]
2023-02-06 06:29 分类:问答Mercurial changegroup hook is being passed wrong HG_URL
I\'ve setup a simple changegroup hook for my Mercurial repositories to email the set of changes to interested users. I\'d like to use a single script for every repository I manage, and I would also li[详细]
2023-02-05 21:25 分类:问答Mercurial changeset hook exists with status -1
I am using Mercurial SCM over a LAN using a normal shared folder instead of HTTP and I\'m having a problem getting the auto update hook to run.[详细]
2023-02-03 04:48 分类:问答How to use a relative pathname to a Mercurial hook
I have a script that is in the top level of my working copy and would like to use it as a Mercurial hook.If I use an absolute pathname to the hook t开发者_Go百科hen everything is fine, but I want a re[详细]
2023-01-26 07:43 分类:问答Mercurial pre commit hook - stop commit based on file contents?
How can I setup a pre-commit hook , that will search for a string in the committed files and If fou开发者_如何学Gond stop the commit ?Chapter 10 of the mercurial book covers this exactly:[详细]
2023-01-24 12:26 分类:问答Is it possible for my Mercurial hook to call code from another file?
I have a hook function named precommit_bad_branch which imports hook_utils. When invoking precommit_bad_branch via a commit I get the following error message:[详细]
2023-01-22 08:03 分类:问答Get list of changesets in a changegroup (mercurial python hook)
I want a mercurial hook that will run JSLint/PyChecker/etc on all files that are modified. However, I do not have control over all hg clients, and want this to run on push to the master repository (wh[详细]
2023-01-13 21:17 分类:问答Rejecting a push based on commiter name
I\'ve recently set up a mercurial repsoitory. All pusing is done via ssh. Currently only users with an LDAP account can push changes to the repository. However, given tha开发者_如何学编程t when commit[详细]
2023-01-04 22:39 分类:问答