##// END OF EJS Templates
convert: use raw strings for XML strings...
Gregory Szorc -
r41358:1281b226 default
parent child Browse files
Show More
@@ -1183,11 +1183,11 b' class svn_sink(converter_sink, commandli'
1183 1183 m = set()
1184 1184 output = self.run0('ls', recursive=True, xml=True)
1185 1185 doc = xml.dom.minidom.parseString(output)
1186 for e in doc.getElementsByTagName('entry'):
1186 for e in doc.getElementsByTagName(r'entry'):
1187 1187 for n in e.childNodes:
1188 if n.nodeType != n.ELEMENT_NODE or n.tagName != 'name':
1188 if n.nodeType != n.ELEMENT_NODE or n.tagName != r'name':
1189 1189 continue
1190 name = ''.join(c.data for c in n.childNodes
1190 name = r''.join(c.data for c in n.childNodes
1191 1191 if c.nodeType == c.TEXT_NODE)
1192 1192 # Entries are compared with names coming from
1193 1193 # mercurial, so bytes with undefined encoding. Our
General Comments 0
You need to be logged in to leave comments. Login now