[
https://issues.apache.org/jira/browse/SCM-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964687#comment-17964687
]
Olivier Lamy commented on SCM-523:
----------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-scm#737|https://github.com/apache/maven-scm/issues/737].
> 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)