Skip to main content

hgrecipe

A Buildout recipe for pulling a Mercurial repository.

This is a fork of the MercurialRecipe package with an additional feature.

On a version update or configuration tweak Buildout is greedy, sometimes uninstalling and reinstalling parts you don’t want it to. Being on the receiving end of Buildout trashing an existing repository because of it can be painful. This recipe adds an overwrite option which ensures that Buildout will leave those repositories safe and intact.

Example Recipe

[django-dbtemplates]
recipe = hgrecipe
repository = https://me@bitbucket.org/jezdez/django-dbtemplates
overwrite = true

[my-code]
recipe = hgrecipe
repository = https://me@bitbucket.org/dont-delete-this-unless-i-say-so

Recipe Options

repository

The url of the repository to clone.

location

The location to clone the repository to. Defaults to the Buildout parts directory.

newest

Whether to pull the latest version of the repository on a Buildout. Value of true or false. Defaults to true.

overwrite

Whether to overwrite an existing repository at the value of location and whether to remove repository when recipe is uninstalled. Defaults to false.

Sandbox Installation

Run the following commands to run a demo of this package.

$ hg clone http://bitbucket.org/prestontimmons/hgrecipe
$ cd hgrecipe
$ python bootstrap.py
$ bin/buildout
$ bin/python hgrecipe/tests.py

Metadata

Release files for hgrecipe 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hgrecipe 0.9
File Size Uploaded
hgrecipe-0.9.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hgrecipe 0.9
File Interpreter ABI Platform
hgrecipe-0.9.linux-x86_64.exe Details

Total release size: 71.3 kB

Release files / hgrecipe-0.9.tar.gz

Download URL hgrecipe-0.9.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dfc5ef08efd6339b67e0b7814a84a97303ed7fac502fa123ae68b83d43149a2d
BLAKE2b-256 checksum
How to use checksums
14f553dd9f6fd5a252ba04eff611f285ce7bb92e18a394b9a02a06a78abe5e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hgrecipe-0.9.linux-x86_64.exe

Download URL hgrecipe-0.9.linux-x86_64.exe
Size 67.8 kB
Tags Source
SHA-256 checksum
How to use checksums
84bfa25ee1cf727afd6764ed169a412aca2fcdccb18042d95d9c4e5133b8f060
BLAKE2b-256 checksum
How to use checksums
cc8a652230c37ee696b11465ad617794f5292c1edc3181bfe66997c91ca6fb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page