Skip to content

acsezen/pysvn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%