>>>>> "Brice" == Brice Oliver <[EMAIL PROTECTED]> writes: Brice> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Brice> Subject: Directory command on import Brice> Date: Wed, 1 Oct 2003 16:44:23 -0500
Brice> I am writing an interface to CVS for my company and I am confused as Brice> to the use of the directory command while carrying on a direct socket Brice> communication with the CVS server. You might be interested in the LibCVS project: http://libcvs.cvshome.org/ we are working on libraries that do that very thing. We would be very happy to have more brains around. Brice> What does the "Directory" command do? It then is always followed by Brice> some path in the repository. Basically, the Directory command tells the server which directories you are going to work in, and the correspondance between directories in the repository and those locally. The most important thing to do is send the "original directory" at the end. Since I'm not using the protocol in the way it was intended, I use the common ancestor of all the previous directories, or the current working directory. This seems to work fine. I'm not sure what cvs itself does. I agree that the docs could be made a bit clearer, especially that for Directory. With a fair amount of effort I feel that I pretty much understand them. It is part of my plan to submit some updates to the docs, at some undetermined time in the future. Alex -- http://libcvs.cvshome.org/ Access CVS through a library. PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B You left out all the cheap character, Sam, why's the brave? -- The Two Towers - Malaysian Edition _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
