public void syncToScmLog(List list,
ScmActionFactory factory) throws Exception {
for ( Iterator it = list.iterator(); it.hasNext(); ) {
ScmLogEntry entry = (ScmLogEntry) it.next();
for ( Iterator it2 = entry.getAction().iterator(); it.hasNext(); ) {
ScmLogEntryItem item = (ScmLogEntryItem) it2.next();
ScmAction action;
switch ( item.getActionType() ) {
case 'A' : {
Add add = (Add) item;
if ( add.getPathType() == 'D' ) {
addDirectory( "",
add.getPath() );