A couple of months ago I wrote a small zc.buildout-recipe to allow the integration of data from some git repository into your workspace. Now I needed mostly the same functionality but for a Mercurial repository. Luckily, Tim Molendijk created a small recipe just for that available in the PyPI. Since the README isn’t really included there, you probably also want to take a look at the project’s repository on Bitbucket.
To use it, simply configure a part like this::
[django.piston]
recipe = mercurialrecipe
repository = http://bitbucket.org/jespern/django-piston/
As with my git-recipe it supports the newest
option (globally and locally)
to prevent the repository from getting pulled every time you update the
environment and it sets the location
-part-variable so that you can access
the data you just pulled.
Really nice stuff. Thanks Tim.
Do you want to give me feedback about this article in private? Please send it to comments@zerokspot.com.
Alternatively, this website also supports Webmentions. If you write a post on a blog that supports this technique, I should get notified about your link π