HI all,
I needed some help with pysvn
I am planning to use pysvn to query a svn repository and parse the log
output and generate some reports from it.
The problem I am facing is that when I use the pysvn.Client().log method
the data that is returned does not have any path info about the files.
Therefore I am not able to identify which log comment belongs to which
set of file\s.
Is this a bug in the pysvn version that I am using?
I am using pysvn-0.9.2-py22-svn1.0.5.exe which I had downloaded some
time back. The sample code that I am using is given below.
Looking forward to your help on this.
(P.S - On a side note.. where did the windows installers for pysvn go..
they do not seem to be in the file sharing section for the pysvn project
on tigris.com)
import pysvn
print("starting...")
client = pysvn.Client()
print("created client...")
print("getting logs...")
log_messages =
client.log("http://svn.collab.net/repos/pysvn/trunk/pysvn/Extension/")
for log_message in log_messages:
print("***********************")
print("Author: " + log_message.get("author"))
print("Date: " + str(log_message.get("date")))
print("Message: " + log_message.get("message"))
revision = log_message.get("revision")
print("Revision: " + str(revision.kind) + ", " +
str(revision.date) + ", " + str(revision.number))
changed_paths = log_message.get("changed_paths")
#####################################################
##### changed_paths is coming up as an empty list
###############################################3
for path in changed_paths:
print("Path: " + str(path))
Aditya Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 16 18:39:26 2004