Closed Bug 1168887 Opened 9 years ago Closed 9 years ago

Disallow pushing new roots to repositories

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: gps)

Details

Attachments

(2 files, 1 obsolete file)

Someone accidentally pushed mozharness to the gecko review repo. This can happen since we're silently using force push behind the scenes.

We should install a hook that prevents new root changesets from being pushed.
Attached file MozReview Request: bz://1168887/gps (obsolete) —
/r/9459 - mozhghooks: implement hook to prevent pushing multiple roots (bug 1168887)
/r/9461 - ansible: globally install single root hook on hgssh (bug 1168887)

Pull down these commits:

hg pull -r e0cb67b6e989ff28ba0fa22eb238c647bfa497eb https://reviewboard-hg.mozilla.org/version-control-tools/
Attachment #8611277 - Flags: review?(smacleod)
Component: MozReview → Mercurial: hg.mozilla.org
QA Contact: hwine
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #8611277 - Flags: review?(smacleod) → review+
This is deployed to hg.mozilla.org. Keeping bug open until we have this on reviewboard-hg.mozilla.org.
Attachment #8611277 - Attachment is obsolete: true
Attachment #8620369 - Flags: review+
Attachment #8620370 - Flags: review+
This got deployed a while ago.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: