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

Get files from a ChangeSet

Hi,
Is there a quick way to get, given a specific change set (IChangeSetHandle), all the files associated to it?
More precisely, if I get the change sets for a specific file with:


List<IChangeSetHandle> cs = FileSystemCore.getFileSystemManager(repository).getFileSystemView(conn).getBlame(conf.component(), (IFileItemHandle)tmp, null, null);


Is there a method,or a quick way, to get from any of those change sets, all the other files associated to it?

cheers
Giacomo

0 votes



One answer

Permanent link
Fetch the change-set(s) in question using the item manager:

IChangeSet cs = repo.itemManager().fetchCompleteItem( changeSetHandle,
.... );

Then iterate over the fetched change-sets (along the same lines that I
described in your "Fetch files from repository" thread.

HTH,
JohnC
SCM Server

ghezzi wrote:
Hi,
Is there a quick way to get, given a specific change set
(IChangeSetHandle), all the files associated to it?
More precisely, if I get the change sets for a specific file with:


List<IChangeSetHandle> cs =
FileSystemCore.getFileSystemManager(repository).getFileSystemView(conn).getBlame(conf.component(),
(IFileItemHandle)tmp, null, null);


Is there a method,or a quick way, to get from any of those change
sets, all the other files associated to it?

cheers
Giacomo

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,954

Question asked: Mar 17 '08, 6:04 a.m.

Question was seen: 8,529 times

Last updated: Mar 17 '08, 6:04 a.m.

Confirmation Cancel Confirm