You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2010/06/08 23:30:13 UTC

[jira] Closed: (SCM-523) SVN checkout files is empty

     [ http://jira.codehaus.org/browse/SCM-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed SCM-523.
----------------------------

    Resolution: Duplicate
      Assignee: Olivier Lamy

please test with scm 1.3 .

> SVN checkout files is empty
> ---------------------------
>
>                 Key: SCM-523
>                 URL: http://jira.codehaus.org/browse/SCM-523
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>            Reporter: Bill Chen
>            Assignee: Olivier Lamy
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira