##// END OF EJS Templates
convert: remove incorrect and unused handling of removed svn directories...
Mads Kiilerich -
r22297:a74d0587 default
parent child Browse files
Show More
@@ -1211,16 +1211,6 b' class svn_sink(converter_sink, commandli'
1211 self.xargs(files, 'add', quiet=True)
1211 self.xargs(files, 'add', quiet=True)
1212 return files
1212 return files
1213
1213
1214 def tidy_dirs(self, names):
1215 deleted = []
1216 for d in sorted(self.dirs_of(names), reverse=True):
1217 wd = self.wjoin(d)
1218 if os.listdir(wd) == '.svn':
1219 self.run0('delete', d)
1220 self.manifest.remove(d)
1221 deleted.append(d)
1222 return deleted
1223
1224 def addchild(self, parent, child):
1214 def addchild(self, parent, child):
1225 self.childmap[parent] = child
1215 self.childmap[parent] = child
1226
1216
@@ -1258,7 +1248,6 b' class svn_sink(converter_sink, commandli'
1258 self.manifest.remove(f)
1248 self.manifest.remove(f)
1259 self.delete = []
1249 self.delete = []
1260 entries.update(self.add_files(files.difference(entries)))
1250 entries.update(self.add_files(files.difference(entries)))
1261 entries.update(self.tidy_dirs(entries))
1262 if self.delexec:
1251 if self.delexec:
1263 self.xargs(self.delexec, 'propdel', 'svn:executable')
1252 self.xargs(self.delexec, 'propdel', 'svn:executable')
1264 self.delexec = []
1253 self.delexec = []
General Comments 0
You need to be logged in to leave comments. Login now