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