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
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