Closed Bug 891495 Opened 11 years ago Closed 10 years ago

Please enable single_head_per_branch.py hook on hg.m.o/extensions/chatzilla

Categories

(Developer Services :: General, task)

x86_64
Windows 8
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: fubar)

Details

Attachments

(1 file)

Callek (Justin Wood) managed to push a new 'default' head to the ChatZilla repository recently (ba3f1807763a). Although the webgraph (http://hg.mozilla.org/chatzilla/graph) doesn't label them both, if you use Mercurial Workbench or, hopefully, the command-line tools, they'll show that both ba3f1807763a and f89c876daa94 are heads for the 'default' branch. Which is bad!
Assignee: server-ops-webops → bugspam.Callek
Releng is now owning hooks, which means that this falls under our purview anyway. I still intend to check this out before circling back with IT over what hooks are installed here....
Component: WebOps: Source Control → Release Engineering: Repos_and_Hooks
Product: Infrastructure & Operations → mozilla.org
QA Contact: nmaul
The hook that should prevent this is:
http://hg.mozilla.org/hgcustom/hghooks/file/2ce2c5286ed6/mozhghooks/single_head_per_branch.py

I'm not sure that that is globally enabled though (probably isn't, because of Try), so maybe you just don't have that in the Chatzilla repo?
Product: mozilla.org → Release Engineering
Hey Ben, Kilby can one of you please tell me what hooks are enabled on the cZ repo?
Flags: needinfo?(klibby)
Flags: needinfo?(bkero)
Only the system-wide pushlog hook. (Kilby? Really? ;-))
Flags: needinfo?(klibby)
Flags: needinfo?(bkero)
                    ......                      
                 .:||||||||:.)                
                /         O  \                 
               (      O       |                 
-------@@@@----------:  :----------@@@@---------
                     `--'                       
                                                
                                               
         K I L B Y   W A S   H E R E
Assignee: bugspam.Callek → server-ops-webops
Component: Repos and Hooks → WebOps: Source Control
Product: Release Engineering → Infrastructure & Operations
QA Contact: nmaul
Summary: Callek managed to push an extra 'default' head to hg.mozilla.org/chatzilla → Please enable single_head_per_branch.py hook on hg.m.o/extensions/chatzilla
hgssh1.dmz.scl3# cat chatzilla/.hg/hgrc 
[web]
description = ChatZilla, the Mozilla IRC client.

[hooks]
pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook
Assignee: server-ops-webops → klibby
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: WebOps: Source Control → General
Product: Infrastructure & Operations → Developer Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: