Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

limitation in number of changesets per workspace?

Hi,

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.

0 votes



One answer

Permanent link
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);

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Jan 18 '11, 6:57 a.m.

Question was seen: 4,647 times

Last updated: Jan 18 '11, 6:57 a.m.

Confirmation Cancel Confirm