svnbranch
A lightweight svn branch tool with externals support.
features
Cross-platform (Windows/Linux/MacOSX)
Create branch through svn URLs directly, no need to clone entire repository
Auto scans externals from one or more URLs or local repository
Support all kinds of externals forms
Support peg revision and operative revision
Support non-ascii svn paths or externals
Installation
Just perform
$ pip install svnbranch
which will install this command line tool on your system.
Usage
It auto scans externals from one or more URLs or local copy, and create a config template contains externals information.
$ svnbranch create_config D:\Tmp\sample\trunk\src
will get a config_template.json in the working directory, for example:
{ "branch_map": { "https://hqc-pc:12000/svn/sample/": { "trunk/README.md/": "", "trunk/src/": "", "trunk/third_party/": "" } }, "external_cache": { "...": "..." }, "url_list": [ "..." ], "version": 1 }Customize your config.
Define branch_map, and the result config file looks like this:
{ "branch_map": { "https://hqc-pc:12000/svn/sample/": { "trunk/README.md/": "branches/bak_{uuid}/README.md", "trunk/src/": "/branches/bak_{uuid}/src", "trunk/third_party/": "branches/bak_{uuid}/3rdparty" } }, "...": "..." }The {uuid} is will be replaced by -uid, –uuid argument of create_branch sub command.
Create branches or delete branches with your config, add -t to simulate the operation.
$ svnbranch create_branch conf/my_branch.json -t
$ svnbranch delete_branch conf/my_branch.json 20180121T1557 -t
Repository
The project is hosted on GitHub. You can look at the source here:
Metadata
Release files for svnbranch 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| svnbranch-1.1.tar.gz | 13.8 kB | Without provenance | Details for svnbranch-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| svnbranch-1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for svnbranch-1.1-py2.py3-none-any.whl |
Total release size: 27.6 kB
Release files / svnbranch-1.1.tar.gz
| Download URL | svnbranch-1.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b923ca1681753e39e07579ebcf4f2415e3cdb8a15243bd94ae264f255f815126
|
|
BLAKE2b-256 checksum How to use checksums |
73d0c8e9834c553f7a4609fe4279434eeed8011f6e4103ee7d73a9f78dfa2be3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / svnbranch-1.1-py2.py3-none-any.whl
| Download URL | svnbranch-1.1-py2.py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5f220442686cb2e0e7749a2be6704d4a13f50bd0850f7daf01eeea584353b273
|
|
BLAKE2b-256 checksum How to use checksums |
5858f620b2b3e086a5f6affb1283ff32586d3b2966894ed9f098bff5c98c68b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for svnbranch 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.