Get files from a ChangeSet
![](http://jazz.net/_images/myphoto/06a089ab430fa9da70fc39a81a65d146.jpg)
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:
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
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
One answer
![](http://jazz.net/_images/myphoto/06a089ab430fa9da70fc39a81a65d146.jpg)
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:
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