Closed Bug 452431 Opened 17 years ago Closed 17 years ago

deploy new require-single-head hook on hg.m.o, remove old one

Categories

(mozilla.org Graveyard :: Server Operations, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: aravind)

References

Details

The new single_head_per_branch.py hook needs to be deployed on m-c, comm-central, and all of the l10n repositories. It is located here: http://hg.mozilla.org/users/bsmedberg_mozilla.com/index.cgi/hghooks/file/d1ffa7f6da59/mozhghooks/single_head_per_branch.py I believe you can do this by checking out http://hg.mozilla.org/users/bsmedberg_mozilla.com/hghooks and running 'python setup.py install' These repositories will need to have their hgrc modified as follows: Replace this line: pretxnchangegroup.a_singlehead = hg_require_single_head with this line: pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook
Blocks: 449209
Assignee: server-ops → oremj
Assignee: oremj → aravind
Should this code (hook) be deployed only for these repositories or can this code be used for any repository that wants to enforce single head?
I think that's up to the owners of the repositories. The current hook enforces a 'no active branches' policy while this one allows them. I don't think I can make that decision for people.
Done.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.