SvnUpdateCommand is updating all the working copy instead of only the fileSet
passed in argument
------------------------------------------------------------------------------------------------
Key: SCM-449
URL: http://jira.codehaus.org/browse/SCM-449
Project: Maven SCM
Issue Type: Bug
Components: maven-scm-provider-svn
Affects Versions: 1.1
Environment: maven 2.0.9
Java 6
Reporter: Jean-Paul GUIGUI
scmManager.update() is updating all the files instead of the files given in
parameter:
lScmFile = new ScmFileSet(basedir, myFile);
lScmResult = scmManager.update(scmRepository, lScmFile);
Due to the SvnUpdateCommand.java which is updating all the working copy, not
only the FileSet given in argument. Here an extract of the line
executeUpdateCommand():
Commandline cl = createCommandLine( (SvnScmProviderRepository) repo,
fileSet.getBasedir(), version );
Should not we use fileSet instead of fileSet.getBaseDir() ?
The SvnCheckInCommand() is using for instance the fileSet only
Commandline cl = createCommandLine( (SvnScmProviderRepository) repo,
fileSet, messageFile );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira