~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to services/svnlogservice

  • Committer: Matt Giuca
  • Date: 2010-07-21 04:21:50 UTC
  • Revision ID: matt.giuca@gmail.com-20100721042150-qovg2sth81sgbdq7
Project page: Replaced the confusing title 'Assigned submitters' with 'Expected submitters', and the heading 'assigned' with 'name'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
import cjson
32
32
import pysvn
33
33
 
 
34
import ivle.conf
34
35
import ivle.svn
35
36
 
36
37
# Set locale to UTF-8
37
38
locale.setlocale(locale.LC_CTYPE, "en_US.UTF-8")
38
39
 
39
40
try:
40
 
    client = pysvn.Client()
 
41
    client = ivle.svn.create_auth_svn_client(username=ivle.conf.login,
 
42
                                             password=ivle.conf.svn_pass)
41
43
    client.exception_style = 1
42
44
    logs = client.log(os.path.join('/home', sys.argv[1].decode('utf-8')),
43
45
                      discover_changed_paths=True)