Closed
Bug 779431
Opened 12 years ago
Closed 12 years ago
SRCSRV_ROOT ignored if hg finds a root.
Categories
(Toolkit :: Crash Reporting, defect)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: markh, Assigned: markh)
Details
Attachments
(1 file)
1.35 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I've a mozilla-central clone in one directory, and in a different directory a clone of that first directory - ie, the second directory is an "indirect" clone of mozilla-central. Running "make buildsymbols" in that second directory rightly complains: Could not determine repo info for o:\src\mm\mozilla-hg\mc-socialapi-landing. This is either not a clone of the web-based repository, or you have not specified SRCSRV_ROOT, or the clone is corrupt. Fair enough - so I set SRCSRV_ROOT to be the location of mozilla-central but it continues to fail with the same error. Looking in symbolstore.py, I see that HGFileInfo.__init__ first attempts to use 'hg' to find the root, and only if that fails does SRCSRV_ROOT get looked at. In my scenario, hg does correctly provide the root (pointing at the other directory), so SRCSRC_ROOT doesn't get looked at. It probably should trust SRCSRV_ROOT if it is set and only ask hg if it is not.
Comment 1•12 years ago
|
||
Seems pretty reasonable.
Assignee | ||
Comment 2•12 years ago
|
||
This patch fixes things for me. Not sure who could review this though...
Updated•12 years ago
|
Attachment #649201 -
Flags: review+
Updated•12 years ago
|
Assignee: nobody → mhammond
Assignee | ||
Comment 3•12 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/6afd61ba31de
Status: NEW → ASSIGNED
Flags: in-testsuite-
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6afd61ba31de
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•