limitation in number of changesets per workspace?
Hi,
I'm using
to retrieve the changesets in a workspace.
Everytime I check-in a changeset, the size of the list increases as expected. However, once the size is 512, it is NOT increasing anymore.
Is there a limitation in the number of changesets per workspace or am I missing something completely??
Regards,
Bernd.
I'm using
IWorkspace ws = (IWorkspace) getRepository().itemManager().fetchCompleteItem(wsHandle, IItemManager.DEFAULT, new SysoutProgressMonitor());
IContextHandle koekoek = (IContextHandle)ws;
IChangeSetSearchCriteria search = IChangeSetSearchCriteria.FACTORY.newInstance();
search.setOldestFirst(true);//sorteren die hap!!
search.setContext(koekoek);
List<IChangeSetHandle> changeSetHandles = null;
changeSetHandles = SCMPlatform.getWorkspaceManager(getRepository()).findChangeSets(search, Integer.MAX_VALUE, null);
to retrieve the changesets in a workspace.
Everytime I check-in a changeset, the size of the list increases as expected. However, once the size is 512, it is NOT increasing anymore.
Is there a limitation in the number of changesets per workspace or am I missing something completely??
Regards,
Bernd.
One answer
Using this code I'm able to retrieve them all...
IWorkspace ws = (IWorkspace) getRepository().itemManager().fetchCompleteItem(wsHandle, IItemManager.DEFAULT, new SysoutProgressMonitor());
IContextHandle koekoek = (IContextHandle)ws;
IWorkspaceConnection wsconn = getWorkspaceConnection(workspaceORstream);
List<IComponentHandle> components = wsconn.getComponents();
for (Iterator<IComponentHandle> a = components.iterator(); a.hasNext();) {
IComponentHandle comphandle = (IComponentHandle) a.next();
IComponent component = (IComponent) getRepository().itemManager().fetchCompleteItem(comphandle, IItemManager.DEFAULT, new SysoutProgressMonitor());
IChangeSetSearchCriteria search = IChangeSetSearchCriteria.FACTORY.newInstance();
search.setOldestFirst(true);//sorteren die hap!!
search.setComponent(comphandle);
List<IChangeSetHandle> changeSetHandles = null;
changeSetHandles = SCMPlatform.getWorkspaceManager(getRepository()).findChangeSets(search, Integer.MAX_VALUE, null);