handle subversion modification type U

This commit is contained in:
Sebastian Sdorra
2013-04-01 21:50:03 +02:00
parent f6e0bab276
commit 6c7e97dba7

View File

@@ -60,6 +60,12 @@ import java.util.Map;
public final class SvnUtil public final class SvnUtil
{ {
/**
* svn path updated
* same as modified ({@link SVNLogEntryPath#TYPE_MODIFIED})?
*/
private static final char TYPE_UPDATED = 'U';
/** /**
* the logger for SvnUtil * the logger for SvnUtil
*/ */
@@ -129,10 +135,14 @@ public final class SvnUtil
break; break;
case TYPE_UPDATED :
case SVNLogEntryPath.TYPE_MODIFIED : case SVNLogEntryPath.TYPE_MODIFIED :
modifications.getModified().add(path); modifications.getModified().add(path);
break; break;
default :
logger.debug("unknown modification type {}", type);
} }
} }
@@ -152,7 +162,7 @@ public final class SvnUtil
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.error("could not close svn repository session"); logger.error("could not close svn repository session", ex);
} }
} }
} }