mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-31 18:46:07 +01:00
handle subversion modification type U
This commit is contained in:
@@ -60,6 +60,12 @@ import java.util.Map;
|
||||
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
|
||||
*/
|
||||
@@ -129,10 +135,14 @@ public final class SvnUtil
|
||||
|
||||
break;
|
||||
|
||||
case TYPE_UPDATED :
|
||||
case SVNLogEntryPath.TYPE_MODIFIED :
|
||||
modifications.getModified().add(path);
|
||||
|
||||
break;
|
||||
|
||||
default :
|
||||
logger.debug("unknown modification type {}", type);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -152,7 +162,7 @@ public final class SvnUtil
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.error("could not close svn repository session");
|
||||
logger.error("could not close svn repository session", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user