equal
deleted
inserted
replaced
1121 def files(self): |
1121 def files(self): |
1122 output = self._svncommand(['list', '--recursive', '--xml'])[0] |
1122 output = self._svncommand(['list', '--recursive', '--xml'])[0] |
1123 doc = xml.dom.minidom.parseString(output) |
1123 doc = xml.dom.minidom.parseString(output) |
1124 paths = [] |
1124 paths = [] |
1125 for e in doc.getElementsByTagName('entry'): |
1125 for e in doc.getElementsByTagName('entry'): |
1126 kind = str(e.getAttribute('kind')) |
1126 kind = pycompat.bytestr(e.getAttribute('kind')) |
1127 if kind != 'file': |
1127 if kind != 'file': |
1128 continue |
1128 continue |
1129 name = ''.join(c.data for c |
1129 name = ''.join(c.data for c |
1130 in e.getElementsByTagName('name')[0].childNodes |
1130 in e.getElementsByTagName('name')[0].childNodes |
1131 if c.nodeType == c.TEXT_NODE) |
1131 if c.nodeType == c.TEXT_NODE) |