mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 00:09:47 +01:00
integration tests for modifications
This commit is contained in:
@@ -167,6 +167,10 @@ public class SvnRepositoryServiceProvider extends RepositoryServiceProvider
|
||||
return new SvnLogCommand(context, repository);
|
||||
}
|
||||
|
||||
public ModificationsCommand getModificationsCommand() {
|
||||
return new SvnModificationsCommand(context, repository);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
@@ -70,13 +70,15 @@ class SvnChangeWorker {
|
||||
SVNWCClient wClient = client.getWCClient();
|
||||
|
||||
// add files
|
||||
try {
|
||||
wClient.doAdd(addedFiles.toArray(new File[0]), true, false, false,
|
||||
SVNDepth.INFINITY, false, false, false);
|
||||
addedFiles.clear();
|
||||
if (!addedFiles.isEmpty()){
|
||||
try {
|
||||
wClient.doAdd(addedFiles.toArray(new File[0]), true, false, false,
|
||||
SVNDepth.INFINITY, false, false, false);
|
||||
addedFiles.clear();
|
||||
|
||||
} catch (SVNException ex) {
|
||||
throw new RepositoryClientException("failed to add files", ex);
|
||||
} catch (SVNException ex) {
|
||||
throw new RepositoryClientException("failed to add files", ex);
|
||||
}
|
||||
}
|
||||
|
||||
// remove files
|
||||
|
||||
Reference in New Issue
Block a user