}
break;
}
case 'U' :
// Can only be a file
Update update = (Update) item;
int lastSlash = update.getPath().lastIndexOf( '/' );
String path = update.getPath().substring( 0,
lastSlash - 1 );
String file = update.getPath().substring( lastSlash + 1,
update.getPath().length() - 1 );
ByteArrayOutputStream bosOriginal = new ByteArrayOutputStream();
getContent( path,
file,
-1,
bosOriginal );
ByteArrayOutputStream bosNew = new ByteArrayOutputStream();
factory.getContent( path,
file,
update.getRevision(),
bosNew );
action = updateFile( path,
file,
bosOriginal.toByteArray(),