Firefox/Projects/TabCandy/Work: Difference between revisions

Line 69: Line 69:
Very handy for managing multiple patches in flight. Pop one on, work with it, pop it off again. See https://developer.mozilla.org/en/Mercurial_Queues to get started.  
Very handy for managing multiple patches in flight. Pop one on, work with it, pop it off again. See https://developer.mozilla.org/en/Mercurial_Queues to get started.  


Once you have it all set up and do that init dance, you need to create the patch you'll be working on. You can either do this by doing '''hg qnew ''<patchname>''''' or by importing a patch. To import, grab the patch and '''hg qimport ''<patchname>'''''.
Once you have it all set up and do that init dance, you need to create the patch you'll be working on. You can either do this by doing '''hg qnew ''<patchname>''''' (actually, we recommend '''hg qnew -U -e ''<patchname>''''', which will give the patch your username and give you a chance to enter its commit message) or by importing a patch. To import, grab the patch and '''hg qimport ''<patchname>'''''.


Either way, you then apply the patch with '''hg qpush ''<patchname>''''', at which point you have the patch applied, and you can make live edits.
Either way, you then apply the patch with '''hg qpush ''<patchname>''''', at which point you have the patch applied, and you can make live edits.
68

edits