hg commit
book:mozilla-esr10 admin$ hg commit
abort: no username supplied (see "hg help config")
book:mozilla-esr10 admin$ hg import 81729
abort: outstanding uncommitted changes
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Cameron Kaiser on 11 Apr, 2012 11:22 PM
You need to configure your hg, as the error message indicates, before you can commit. At minimum you need the [ui] stanza and username. The help message will explain this in more detail. Once you have committed the base tarball, you can then import from there.
2 Posted by buildfail on 16 Apr, 2012 07:52 PM
I've also been attempting a build but tarball and hg method are not working. Very frustrating but I will try again when the new patchset is released with the hg method. Very annoying if every time the patchset and repo are OOS and it is effectively impossible to build...
@alois I take it you've given up but if not please share your method.
Support Staff 3 Posted by Cameron Kaiser on 16 Apr, 2012 07:56 PM
Be more specific about "not working." If the changesets don't apply, this is unfortunately expected against esr10, because it is a moving target. If this is the case against a tarball, then the source tarball doesn't match the pull we did at the time, which also unfortunately will happen from time to time. Mozilla doesn't coordinate with anyone about release timing other than themselves.
4 Posted by buildfail on 16 Apr, 2012 08:39 PM
I've hit the same brick wall as alois with the tarball method but I will do my research and try to figure out the UI stanza and so forth (or just give up and pray for a heavenly alignment on patchset day ha-ha).
My one suggestion is perhaps to add a UI stanza faq to the tarball build-wiki? As it stands the directions do not lead to success.
Additional note, I I have somehow managed to install GCC 4.6 on this Leopard machine and there is no 10.4 SDK installed TTVBOMK but from what I've read that's fine.
Support Staff 5 Posted by Cameron Kaiser on 16 Apr, 2012 08:46 PM
You shouldn't need the 10.4 SDK, but I have not tested building apart from it and widget/src/cocoa in particular will build differently on Leopard. There are some people using gcc 4.6 and that should be okay, although the release binaries are built with gcc 4.0.1 on 10.4 with Xcode 2.5.
Politely, Mercurial configuration is out of scope for us. hg help config explains what you need to do, which is to create an .hgrc in your home directory. You will need this to work with any Mercurial repo, not just this one. For the record, mine looks like this; modify yours to taste. The [ui] stanza is minimally required but the rest will enable certain behaviours useful if you intend to contribute patches back.
[ui] username = Cameron Kaiser <...@...>
[diff] git = 1
showfunc = 1
unified = 8
[extensions] hgext.rebase =
hgext.mq =
fetch =
progress =
Support Staff 6 Posted by Cameron Kaiser on 16 Apr, 2012 08:47 PM
That should be
[ui]
username =
etc. (in other words on individual lines, Markdown munges this)
7 Posted by commenter on 16 Apr, 2012 09:23 PM
Still trying to build (on rare occasions) AuroraFox.dmg>Aurora.app (Leopard's last stand) on a similar setup to buildfail. No dice so far, please succeed and as you do post a guide! My god this stuff is convoluted. Mozilla, Mercurial when will it all end!
@ClassicHasClass, thanks for the guidance.
@Everyone who reads this and runs Leopard, please do this so I don't have to! Thanks!
8 Posted by buildfail on 16 Apr, 2012 11:40 PM
@Cameron Kaiser, heavenly alignment it is =)
@commenter, no luck either, TenFourFox is cursed on Leopard!
Support Staff 9 Posted by Cameron Kaiser on 25 Apr, 2012 02:00 AM
New 10.0.4 changesets are out and tested. If there are still issues building against the 10.5 SDK, those will need patches by "someone" (remember that released builds are built against the 10.4 SDK). They will be accepted as long as they do not interfere with 10.4 and are "reasonable."
Cameron Kaiser closed this discussion on 25 Apr, 2012 02:00 AM.