Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
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!
Attachments
Issue Links
- duplicates
-
SCM-480 "mvn scm:status" doesn't show modified file
- Closed