Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-523

SVN checkout files is empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • maven-scm-provider-svn
    • 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

          Activity

            People

              olamy Olivier Lamy
              bihang.chen@gmail.com Bill Chen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: