Software Heritage Mercurial Loader
Project description
The Software Heritage Mercurial Loader is a tool and a library to walk a local mercurial repository and inject into the SWH dataset all contained files that weren’t known before.
The main entry points are:
swh.loader.mercurial.loader.HgLoader which reads and loads a local repository into an SWH archive.
swh.loader.mercurial.loader.HgArchiveLoader which reads and loads a local repository wrapped within a tarball
swh.loader.mercurial.directory.HgCheckoutLoader which ingests the hg tree at a specific changeset or tag.
CLI run
Configuration file
/tmp/mercurial.yml:
storage:
cls: remote
args:
url: http://localhost:5002/
Basic use
swh loader --C /tmp/mercurial.yml run mercurial https://www.mercurial-scm.org/repo/hello
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for swh.loader.mercurial-3.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c11921d5018195d180678968fd848a58ea3a7d1278c242270f4ebc34307f342 |
|
MD5 | 15a1120a342b20b6016a5b01776a6bd9 |
|
BLAKE2b-256 | 8f886cc0c50f6242a642401f7600634b18365f2fd6b9f3f70da4abf19443028c |
Close
Hashes for swh.loader.mercurial-3.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546fbd237331eb9136a7cb7a5ebcf8b49b7196abb001cb610c77cf08d5247060 |
|
MD5 | 41c8cfe56197925de603eeb1bc5d19a5 |
|
BLAKE2b-256 | a7e75f08f810deadadfc8b8982696e40a46a5162754423a0868e095c830fa016 |