Mercurial: hg --config option
Friday, 24th April 2009 by Toby
Incredibly short and simple, but I just couldn’t find anything about the proper usage of the hg --config option for Mercurial and now that I’ve worked it out I might save someone else forty-five seconds of life by posting it here.
Let’s say, like me, you’re stuck behind an authenticated HTTP proxy and have the host and username set up in your ~/.hgrc file, but don’t want to store your password in that file, your hg clone line should be:
hg clone --config http_proxy.passwd=[_password_] http://[_respository-URL_]/ [_working-copy-name_]
In other words, it’s section.name=value, to use the same terms as man hgrc.
Comments
Pixelmator: Photoshop replacement?
Thursday, 16th April 2009 by Toby
Being a (recent) convert to the land of independent Mac development, I’ve managed to find replacements for all my workflow tools, software which is smaller, and just so much better. With just Photoshop left to go, I went searching and found Pixelmator.
Read more
Have Crime Shows Reduced Murder Rates?
Thursday, 16th April 2009 by Toby
Just something I was musing about today. We’re all familiar with the scene where the villain captures the hero, then proceeds to spend a good half-hour or so gloating about his success so that by the time he gets around to actually killing his captive, the hero has gnawed through whatever’s tying her down and effected a quick escape.
I was wondering, do prospective murderers nowadays watch such shows and think that’s the proper way to act, so hold off killing hostages for a decent gloat session first? Something to think about.
Stop the madness of wasteful paper consumption
Thursday, 9th April 2009 by Toby
I pledge to avoid wasting paper in order to help share access to a limited resource.
I want to help to reduce the dramatically increasing paper consumption in the rich world which is connected, though irresponsible production, to threats to biodiversity, human rights abuses, land rights struggles, pollution and climate change.
By reducing my paper use I will give developing countries fairer access to paper and its benefits for cultural development, literacy and education.
I believe that my quality of life will not suffer if I use less paper. By doing so I will save money and create less waste.
Read more
Any mug can have a blog
Sunday, 1st February 2009 by Toby
Modern frameworks have become so advanced and easy to use. I just rewrote this blog in Django, to include the features that I want – which is not many – and it took me most of one morning, which was actually less time than it took to get Habari running on my server. Thanks to Django, any mug can have a custom-made blog inside of a few hours.
Read more