Skip to main content

Svn for python.

Project description

pysvn

PyPI

This is a Python package that can operate svn, provide log, diff, numstat operation.

Install

Binary installers for the latest released version are available at the Pypi.

python -m pip install --upgrade pysvn

Usage

Init

initialize the client on cwd

import pysvn

client = pysvn.Client(cwd = os.getcwd(), stdout = subprocess.PIPE)

log

Show the log messages for a set of revision(s) and/or path(s)..

client.log(decoding = 'utf8')

diff

Display local changes or differences between two revisions or paths

client.diff(start_version, end_version = None, decoding = 'utf8', cache = False)

numstat

Shows number of added and deleted lines in decimal notation and pathname

client.numstat(start_version, end_version = None, decoding = 'utf8', cache = False)

License

BSD

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

pysvn-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pysvn-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

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