Commits

Sebastian Sdorra  committed 800b918

handle subversion modification type U

  • Participants
  • Parent commits 6bea4fd
  • Branches issue-353

Comments (0)

Files changed (1)

File scm-plugins/scm-svn-plugin/src/main/java/sonia/scm/repository/SvnUtil.java

 {
 
   /**
+   * svn path updated
+   * same as modified ({@link SVNLogEntryPath#TYPE_MODIFIED})?
+   */
+  private static final char TYPE_UPDATED = 'U';
+
+  /**
    * the logger for SvnUtil
    */
   private static final Logger logger = LoggerFactory.getLogger(SvnUtil.class);
 
         break;
 
+      case TYPE_UPDATED :
       case SVNLogEntryPath.TYPE_MODIFIED :
         modifications.getModified().add(path);
 
         break;
+
+      default :
+        logger.debug("unknown modification type {}", type);
     }
   }
 
       }
       catch (Exception ex)
       {
-        logger.error("could not close svn repository session");
+        logger.error("could not close svn repository session", ex);
       }
     }
   }