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)
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
Updated•17 years ago
|
Assignee: server-ops → oremj
Updated•17 years ago
|
Assignee: oremj → aravind
| Assignee | ||
Comment 1•17 years ago
|
||
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?
| Reporter | ||
Comment 2•17 years ago
|
||
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.
| Assignee | ||
Comment 3•17 years ago
|
||
Done.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•