Created attachment 512803 [details] [diff] [review]
--enable-chrome-format=symlink is really useful when you're editing JS or xul files. We can't do symlinks on Windows, even Vista/7 (mainly because non-admins don't have the privilege to do it, and even if an admin is explicitly granted the privilege, UAC strips it away). However we can create hardlinks instead, and that'll work for the use case we want to support here.
Comment on attachment 512803 [details] [diff] [review]
I bet you'll probably break some goofy platform like OS/2 with this, but they would have to explicitly enable this, so maybe it doesn't matter.
Can you add a test for this to http://mxr.mozilla.org/mozilla-central/source/config/tests/unit-JarMaker.py ?
Created attachment 515697 [details] [diff] [review]
This passes locally, and I've pushed to try to make sure it passes on Mac/Linux/FAT32 as well.
Created attachment 515755 [details] [diff] [review]
That wouldn't have, but this did.
Comment on attachment 515755 [details] [diff] [review]
Thanks a lot for taking the time to write a test!