jira-importer commented on issue #697: URL: https://github.com/apache/maven-scm/issues/697#issuecomment-2964613757
**[Victor Volle](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vrvolle)** commented I found the reason: In SvnStatusConsumer > String file = line.substring( 7 ); The "file" variable then contains " pom.xml" with a leading whitespace! Later on there is a test: > if ( !status.equals( ScmFileStatus.DELETED ) && !new File( workingDirectory, file ).isFile() ) > { > return; > } but since "file" has a leading white space, "new File(...).isFile" returns false. I would propose switching to a pattern matcher instead of String indices. A quick fix would be to simply trim the file name -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
