Closed Bug 1112075 Opened 9 years ago Closed 9 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)

All
Other
defect
Not set
normal

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
Moving to Developer Documentation product.
Product: Mozilla Developer Network → Developer Documentation
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.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Looks great! Thanks Eric
You need to log in before you can comment on or make changes to this bug.