updateStatus("m.patching");
// create a new ProgressObserver that divides the different patching phases
MetaProgressObserver mprog = new MetaProgressObserver(_progobs, list.size());
for (Resource prsrc : list) {
mprog.startElement(1);
try {
Patcher patcher = new Patcher();
patcher.patch(prsrc.getLocal().getParentFile(), prsrc.getLocal(), mprog);
} catch (Exception e) {
log.warning("Failed to apply patch", "prsrc", prsrc, e);