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

« back to all changes in this revision

Viewing changes to services/svnlogservice

  • Committer: William Grant
  • Date: 2010-02-26 04:05:57 UTC
  • Revision ID: grantw@unimelb.edu.au-20100226040557-xttf63vmxjs1oh8v
Shuffle all of the manual instructions one layer deeper, into the 'Manual steps' section.

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