Skip to main content

Svn for python.

Project description

Contributors Forks Stargazers Issues MIT License LinkedIn


PySubversion

SVN command-line client wrapper.
Explore the docs

Report Bug --- Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

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!

(back to top)

Built With

(back to top)

Getting Started

Installers are available on Pypi.

python -m pip install --upgrade pysubversion

(back to top)

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'])

(back to top)

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the BSD 3-Clause License. See LICENSE.txt for more information.

(back to top)

Contact

Ryan Bender - @itsmeryan.hihello - ryan.bender@cfacorp.com

Project Link: https://github.com/ryanbender2/pysvn

(back to top)

Acknowledgments

(back to top)

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

pysubversion-1.0.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysubversion-1.0.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file pysubversion-1.0.1.tar.gz.

File metadata

  • Download URL: pysubversion-1.0.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pysubversion-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bf5220dc3dca42c9ae467634f242f6364052e8c579e6dfe41c6d11b7822b6622
MD5 b78377cb21f4f5d949b9b63d3d47ce0f
BLAKE2b-256 58341f31c627e17f90ee904291a130291284ae54d24de5cc5073a182fb737946

See more details on using hashes here.

File details

Details for the file pysubversion-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pysubversion-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pysubversion-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb9d56809b756aa8ddb08b10dd4e71a4b3e096749ef5eaf3ac4a23155a1ea1fb
MD5 b41316c7af48c4ed6cf2f95038e58f9a
BLAKE2b-256 b7fa3ebd0acb26146abf6f8b767a0647458443ddf9684bf900c3f74b9b4dbd9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page