Closed
Bug 1337050
Opened 8 years ago
Closed 8 years ago
Pushing graphics branch to m-c is disallowed due to servo hook
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kats, Assigned: gps)
References
Details
To get the Quantum Render project merged to m-c, I tried doing a merge from the graphics branch to m-c. This failed because of the servo vendor hook (see output below). gps asked me to file a bug, so here it is.
kats@kgupta-pc mozilla$ hg push m-c -r tip
pushing to ssh://hg.mozilla.org/mozilla-central
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 384 changesets with 4641 changes to 2681 files
remote: (1 changesets contain changes to protected servo/ directory: d52552ae7dcf)
remote: ************************************************************************
remote: you do not have permissions to modify files under servo/
remote:
remote: the servo/ directory is kept in sync with the canonical upstream
remote: repository at https://github.com/servo/servo
remote:
remote: changes to servo/ are only allowed by the syncing tool and by sheriffs
remote: performing cross-repository "merges"
remote:
remote: to make changes to servo/, submit a Pull Request against the servo/servo
remote: GitHub project
remote: ************************************************************************
remote: transaction abort!
remote: rollback completed
remote: pretxnchangegroup.e_prevent_vendored hook failed
abort: push failed on remote
Reporter | ||
Comment 1•8 years ago
|
||
(Note that the merge doesn't actually try to change anything in servo/ - that is, running |hg diff -r tip -r m-c| shows no changes to any files in servo/. The commit in question is a merge commit from somewhere in the graphics history.)
Assignee | ||
Comment 2•8 years ago
|
||
I'll look into this. Give me a few minutes for contemplate a longer-term solution.
If you want me to do the merge manually, ping me on IRC.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•8 years ago
|
||
I assume we can close this now. The current state of affairs isn't blocking the QR merge any more, since KWierso did the merge for us. Feel free to reopen if you still want to use this for tracking anything.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
some clarification around the issue: because this is a merge, it implicitly touches servo/, which triggers the rejection hook.
it's technically possible for smarts to be added to the hook to detect merges, inspect the changes, and allow merges that don't actually touch servo/, however that won't happen in the short term.
until/if that happens the work around is for the sheriffs to perform merges.
You need to log in
before you can comment on or make changes to this bug.
Description
•