Is there a way to synch multiple files at specific revisions quickly.

For example specify a list of files and revisions as follows:
foo#1
bar#4
baz#3

I could sync these in a foreach loop in he shell individually - but this would be slow for large lists. So is there a quick/batch way of doing this?

I do know about using labels - but in this case we must assume no label existed for this set of files and revisions - the only source we have is the list as shown above.