Closed Bug 759450 Opened 12 years ago Closed 12 years ago

Add missing single_head_per_branch hg hook to several hg.mozilla.org repos

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: bkero)

References

Details

Using the list from bug 758994 a few missing hooks were spotted. Please may this missing hook: pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook Be added to the following repos' hgrc (/repo/hg/mozilla/$REPO/.hg/hgrc) under [hooks]: projects/accessibility projects/devtools2 projects/jaegermonkey Please may the same hook be added to the following that have no [hooks] section at all, so will need one adding at the same time: projects/alder projects/ash projects/ash-reset-718794 projects/birch projects/cedar projects/devtools projects/elm projects/holly projects/larch projects/maple projects/oak projects/pine projects/profiling releases/mobile-2.0 releases/mozilla-2.1 releases/mozilla-miramar releases/mozilla-mobile-5.0 Finally, /repo/hg/mozilla/tracemonkey/.hg/hgrc has an old version of the hook, so for that hgrc, can this line: pretxnchangegroup.a_singlehead = /repo/hg/scripts/hg_require_single_head ...be substituted with: pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook Many thanks :-)
Assignee: server-ops → server-ops-devservices
Component: Server Operations → Server Operations: Developer Services
QA Contact: phong → shyam
I did these in order. The two small groups I did by hand, but used this command and validated it for the larger ones. [root@hgssh1.dmz.scl3 mozilla]# for i in projects/alder projects/ash projects/ash-reset-718794 projects/birch projects/cedar projects/devtools projects/elm projects/holly projects/larch projects/maple projects/oak projects/pine projects/profiling releases/mobile-2.0 releases/mozilla-2.1 releases/mozilla-miramar releases/mozilla-mobile-5.0; do echo -e "\n[hooks]\npretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook\n" >> $i/.hg/hgrc; done [root@hgssh1.dmz.scl3 mozilla]# for i in projects/alder projects/ash projects/ash-reset-718794 projects/birch projects/cedar projects/devtools projects/elm projects/holly projects/larch projects/maple projects/oak projects/pine projects/profiling releases/mobile-2.0 releases/mozilla-2.1 releases/mozilla-miramar releases/mozilla-mobile-5.0; do echo ==================; echo $i; cat $i/.hg/hgrc; done ================== projects/alder [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/ash [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/ash-reset-718794 [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/birch [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/cedar [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/devtools [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/elm [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/holly [paths] default = /repo/hg/mozilla/integration/mozilla-inbound [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/larch [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/maple [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/oak [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/pine [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== projects/profiling [paths] default = /repo/hg/mozilla/mozilla-central [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== releases/mobile-2.0 [paths] default = /repo/hg/mozilla/releases/mobile-2.0 [web] description = Branch development on Fennec 4.0 [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== releases/mozilla-2.1 [paths] default = /repo/hg/mozilla/releases/mozilla-2.1 [web] description = Branch development on Gecko 2.1 [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== releases/mozilla-miramar [paths] default = /repo/hg/mozilla/releases/mozilla-aurora [web] description = Branch development for Firefox 5 and related. [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook ================== releases/mozilla-mobile-5.0 [paths] default = /repo/hg/mozilla/releases/mozilla-aurora [hooks] pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook
Assignee: server-ops-devservices → bkero
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Thank you :-)
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.