List<ScmFile> fileList = new ArrayList<ScmFile>();
for ( File file : fileSet.getFileList() )
{
String path = file.getPath().replace( '\\', '/' );
localRepo.addFile( path );
fileList.add( new ScmFile( path, ScmFileStatus.ADDED ) );
}
// TODO: Also, ensure it is tested from the update test
return new AddScmResult( null, fileList );