jira-importer commented on issue #796:
URL: https://github.com/apache/maven-scm/issues/796#issuecomment-2964624579

   **[Jörg 
Hohwiller](https://issues.apache.org/jira/secure/[email protected])**
 commented
   
   I tried to workaround like this:
   
   if ("svn".equals(vcsType)) {
   // workaround for SCM-585
   AbstractSvnScmProvider vcsProvider = (AbstractSvnScmProvider) this.scmManager
   .getProviderByType("svn");
   ScmProviderRepository dummyRepository = 
vcsProvider.makeProviderScmRepository(
   "http://dummy.org/scv/tunk";, '/');
   SvnInfoScmResult infoResult = vcsProvider.info(dummyRepository, new 
ScmFileSet(
   new File(""), locationDirectory), null);
   String url = ((SvnInfoItem) infoResult.getInfoItems().get(0)).getURL();
   ScmProviderRepository vcsProviderRepository = 
vcsProvider.makeProviderScmRepository(url,
   '/');
   vcsRepository = new ScmRepository(vcsType, vcsProviderRepository);
   }
   
   This does not help as then the info command is
   cmd.exe /X /C "svn --non-interactive info 
http://dummy.org/scv/tunk/src/test/resources";
   
   So there seems more buggy than just the assertion-if statement.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to