Svn for python.
Project description
PySubversion
SVN command-line client wrapper.
Explore the docs
Report Bug
---
Request Feature
Table of Contents
About The Project
This client supports the major operations of the svn command-line client. Please put in a feature request if you would like more operations to be added!
Built With
Getting Started
Installers are available on Pypi
.
python -m pip install --upgrade pysubversion
Usage
initialize the client on
cwd
import pysvn
svn = pysvn.Client()
revert
Revert a given path + options...
svn.revert('foo.txt')
svn.revert('foo/', recursive=True)
svn.revert('foo.txt', remove_added=True)
log
Show the log messages for a set of revision(s) and/or path(s)..
svn.log()
svn.log(revision=12)
svn.log(revision='1:3')
svn.log(file='foo.txt', revision=Revision.HEAD)
diff
Display local changes or differences between two revisions or paths
svn.diff(1)
svn.diff(3, 4)
update
Bring changes from the repository into the working copy.
svn.update()
svn.update(path='foo.txt')
svn.update(path=['foo.txt', 'bar.c'])
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the BSD 3-Clause License. See LICENSE.txt
for more information.
Contact
Ryan Bender - @itsmeryan.hihello - ryan.bender@cfacorp.com
Project Link: https://github.com/ryanbender2/pysvn
Acknowledgments
Project details
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
Hashes for pysubversion-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9d56809b756aa8ddb08b10dd4e71a4b3e096749ef5eaf3ac4a23155a1ea1fb |
|
MD5 | b41316c7af48c4ed6cf2f95038e58f9a |
|
BLAKE2b-256 | b7fa3ebd0acb26146abf6f8b767a0647458443ddf9684bf900c3f74b9b4dbd9d |