Skip to content
This repository

Download source control URIs in Python

tree: 3270001621

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 blah
Octocat-spinner-32 scripts
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 makefile
Octocat-spinner-32 test-requirements.txt

Blah: Download source control URIs

The main use of Blah is being able to download repositories from a URI that specifies what version control system (VCS) is being used:

import blah

blah.fetch("git+", "/tmp/blah")
print open("/tmp/blah/").read()

Blah can also be used as a script:

blah fetch git+ /tmp/blah

Specific commits can be selected by appending a hash to the URI, followed by the name of the commit:

blah.fetch("git+", "/tmp/blah")

At the moment, git and hg URIs are supported.

Something went wrong with that request. Please try again.