[ 
https://issues.apache.org/jira/browse/SCM-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961120#comment-17961120
 ] 

ASF GitHub Bot commented on SCM-346:
------------------------------------

jira-importer opened a new issue, #564:
URL: https://github.com/apache/maven-scm/issues/564

   **[Siveton 
Vincent](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=siveton)** 
opened 
**[SCM-346](https://issues.apache.org/jira/browse/SCM-346?redirect=false)** and 
commented
   
   The recursive flag is not use in the SvnCheckOutCommand class.
   
   Here is a small Java code to reproduce it.
   
   ```
   String url = "scm:svn:https://svn.apache.org/repos/asf/maven/trunks";;
   
   boolean recursive = true;
   
   ScmManager scmManager = (ScmManager) lookup( ScmManager.ROLE );
   ScmRepository repository = scmManager.makeScmRepository( url );
   
   CheckOutScmResult result = scmManager.checkOut( repository, new ScmFileSet( 
workingDir ), recursive );
   ```
   
   
   
   ---
   
   **Affects:** 1.0
   
   **Attachments:**
   - 
[AbstractCheckOutCommand.java](https://issues.apache.org/jira/secure/attachment/12718843/AbstractCheckOutCommand.java)
 (_2.49 kB_)
   - 
[SvnCheckOutCommand.java](https://issues.apache.org/jira/secure/attachment/12718888/SvnCheckOutCommand.java)
 (_5.72 kB_)
   




> Recursive flag is not implemented in the check out command
> ----------------------------------------------------------
>
>                 Key: SCM-346
>                 URL: https://issues.apache.org/jira/browse/SCM-346
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.0
>            Reporter: Siveton Vincent
>            Assignee: Siveton Vincent
>            Priority: Blocker
>             Fix For: 1.2
>
>         Attachments: AbstractCheckOutCommand.java, SvnCheckOutCommand.java
>
>
> The recursive flag is not use in the SvnCheckOutCommand class.
> Here is a small Java code to reproduce it.
> {code:title=Sample.java|borderStyle=solid}
> String url = "scm:svn:https://svn.apache.org/repos/asf/maven/trunks";;
> boolean recursive = true;
> ScmManager scmManager = (ScmManager) lookup( ScmManager.ROLE );
> ScmRepository repository = scmManager.makeScmRepository( url );
> CheckOutScmResult result = scmManager.checkOut( repository, new ScmFileSet( 
> workingDir ), recursive );
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to