Carlos Sanchez a écrit :
I have created http://jira.codehaus.org/browse/SCM-188 For the scm wagon I'd need to add a whole directory to scm. Right now the only solution is create a ScmFileSet, but none of the current methods adds directories, i have to look for them and add in order so the svn add works correctly. It'd be a nice to have in the API an addDirectory or make the add command add directories recursively (I don't know what's the use case of the current behaviour)
Actual use case is to add all directories to add in scm in a scmFileSet.
eg. translated to svn it would call a svn add recursively, also optimizing the current approach of calling lots of times to external svn WDYT?
I think it would be good to add this method and it's easy to do. For svn, we must check if : - .svn directory exist in directory for subversion - CVS directory exist in directory for CVS - .bzr directory exist in directory for bazaar - nothing to do for file provider - don't know for clearcase, perforce and starteam Emmanuel