use of org.netbeans.lib.cvsclient.request.ExpandModulesRequest in project intellij-community by JetBrains.
the class CheckoutCommand method expandModules.
// Utils ==================================================================
private boolean expandModules(ExpandedModules expandedModules, ICvsListenerRegistry listenerRegistry, IRequestProcessor requestProcessor, IClientEnvironment clientEnvironment) throws CommandException, AuthenticationException {
final Requests requests = new Requests(new ExpandModulesRequest(), clientEnvironment);
addModuleArguments(requests);
requests.addLocalPathDirectoryRequest();
expandedModules.registerListeners(listenerRegistry);
try {
return requestProcessor.processRequests(requests, new DummyRequestsProgressHandler());
} finally {
expandedModules.unregisterListeners(listenerRegistry);
}
}
use of org.netbeans.lib.cvsclient.request.ExpandModulesRequest in project intellij-community by JetBrains.
the class ExportCommand method expandModules.
// Utils ==================================================================
private boolean expandModules(ExpandedModules expandedModules, ICvsListenerRegistry listenerRegistry, IRequestProcessor requestProcessor, IClientEnvironment clientEnvironment) throws CommandException, AuthenticationException {
final Requests requests = new Requests(new ExpandModulesRequest(), clientEnvironment);
addModuleArguments(requests);
requests.addLocalPathDirectoryRequest();
expandedModules.registerListeners(listenerRegistry);
try {
return requestProcessor.processRequests(requests, new DummyRequestsProgressHandler());
} finally {
expandedModules.unregisterListeners(listenerRegistry);
}
}
Aggregations