~ubuntu-branches/debian/jessie/bzr-xmloutput/jessie

« back to all changes in this revision

Viewing changes to lsxml.py

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij, Jelmer Vernooij, Max Bowsher
  • Date: 2011-03-07 05:29:49 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110307052949-qj68inm3y8e3eit0
Tags: 0.8.7-1
[ Jelmer Vernooij ]
* New upstream snapshot.

[ Max Bowsher ]
* Run tests in a UTF-8 locale, because they do not properly support the C
  locale.

[ Jelmer Vernooij ]
* Switch to dh_python2. Closes: #616769
* Switch to debhelper 7, drop cdbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        fs_path = path
51
51
    tree, branch, relpath = bzrdir.BzrDir.open_containing_tree_or_branch(
52
52
            fs_path)
53
 
    
 
53
 
54
54
    prefix = None
55
55
    if from_root:
56
56
        if relpath:
78
78
            if fid is None:
79
79
                fid = ''
80
80
            else:
81
 
                fid = '<id>%s</id>' % fid
 
81
                fid = '<id>%s</id>' % _escape_cdata(fid)
82
82
            fkind = '<kind>%s</kind>' % fkind
83
83
            status_kind = '<status_kind>%s</status_kind>' % long_status_kind[fc]
84
84
            fpath = '<path>%s</path>' % _escape_cdata(fp)