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

« back to all changes in this revision

Viewing changes to services/diffservice

  • Committer: William Grant
  • Date: 2009-12-07 11:01:50 UTC
  • mfrom: (1341.1.3 trunk)
  • Revision ID: grantw@unimelb.edu.au-20091207110150-jct30a9yru432ddn
Fix up the project set creation UI a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    svnclient = pysvn.Client()
49
49
    svnclient.exception_style = 1
50
50
    diff = svnclient.diff
51
 
 
52
 
    # pysvn's diff tempfile behaviour changes with Subversion 1.6.x.
53
 
    # < 1.6 wants a filename, >= 1.6 wants a directory.
54
 
    if pysvn.svn_version > (1, 6):
55
 
        tmp_path = '/tmp'
56
 
    else:
57
 
        tmp_path = '/tmp/svndiff'
58
 
 
59
 
    diff_text = diff(tmp_path,
 
51
    diff_text = diff( '/tmp/svndiff',
60
52
        os.path.join('/home', sys.argv[1]),
61
53
        revision1=revs[0],
62
54
        revision2=revs[1]