Closed
Bug 1112075
Opened 10 years ago
Closed 10 years ago
Building mozilla-cental.hg mercurial bundle fails with "not trusting file ~/mozilla-central/.hg/hgrc from untrusted user root, group root"
Categories
(Developer Documentation Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: xelawafs, Unassigned)
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. following instructions from here (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles) works up to part 4
What happened?
==============
on running hg pull, I get 3 lines, the first one and the second one are the same: not trusting file ~/mozilla-central/.hg/hgrc from untrusted user root, group root - the third one is - abort: repository default not found!
What should have happened?
==========================
repository should update to the same result as hg clone
Is there anything else we should know?
======================================
[trusted]
groups = root
users = root
Adding the above here: /etc/mercurial/hgrc.d/trust.rc solves this problem. Can this bit be added to the documentation here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles just before step 4
Comment 1•10 years ago
|
||
Moving to Developer Documentation product.
Product: Mozilla Developer Network → Developer Documentation
Comment 2•10 years ago
|
||
Doc is fixed. I've added a new step to update the .hgrc file with those lines, and have revamped the entire article to match our style guide, as well as to clarify text. I also test-ran through the steps, which worked great for me.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•10 years ago
|
||
Looks great! Thanks Eric
You need to log in
before you can comment on or make changes to this bug.
Description
•