[
https://issues.apache.org/jira/browse/SCM-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961897#comment-17961897
]
ASF GitHub Bot commented on SCM-523:
------------------------------------
jira-importer commented on issue #737:
URL: https://github.com/apache/maven-scm/issues/737#issuecomment-2964616674
**[Bill
Chen](https://issues.apache.org/jira/secure/[email protected])**
commented
some mistakes is existed in svn update command.
>
org.apache.maven.scm.provider.svn.svnexe.command.update.SvnUpdateConsumer.getUpdatedFiles();
> SVN checkout files is empty
> ---------------------------
>
> Key: SCM-523
> URL: https://issues.apache.org/jira/browse/SCM-523
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-svn
> Reporter: Bill Chen
> Assignee: Olivier Lamy
> Priority: Major
>
> While i use the api(scmManager.checkOut(scmRepository, new
> ScmFileSet(workingDirectory), version)).
> The return result(CheckOutScmResult)'s checkedOutFiles is an empty List.
> I debug the code source, and find the problem exist in the
> method(getCheckedOutFiles) in class SvnCheckOutConsumer. This method invoke
> the super
> class(org.apache.maven.scm.provider.svn.svnexe.command.AbstractFileCheckingConsumer)'s
> method(getFiles()).
> if ( !file.getStatus().equals( ScmFileStatus.DELETED )
> && !new File( workingDirectory, file.getPath() ).isFile() ){
> it.remove();
> }
> use this method added status files ,updated status files are removed!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)