Hi,

I'm trying to write a little CVS client in perl, for the purposes of retrieving files 
from a cvs repository, but am coming a little unstuck.

What I would like to do is simply retrieve a particular version of a file from the 
server, either the latest one, a tagged version, or a particular version.

I have got as far as checking out a complete directory ( for the time being to keep it 
simple is am not using modules )

(auth stuff)
1] UseUnchanged
2 ]Root /path/to/repository
3] Valid-responses ok error Checked-in M E Valid-requests Updated Merged Removed
4] valid-requests
(get response)
5] Argument -N
6] Argument path/to/files
7] Directory .
8] /path/to/repository
9] co

This will return all the files in the directory in (8).
If i give a particular filename in (8), then that file is returned, but always the 
latest version of the file. How can I get it to give me a tagged version.
Even if i add an Entry /Filename/1.100/// between 8 and 9, I still get the latest 
version..

Any help _much_ appreciated.

If this works and is any good... I'm hoping to get permission to put the module in 
CPAN....

Cheers

James



Reply via email to