Hallo Chun,
we should better carry this discussion over to pd-dev now.
chun lee hat gesagt: // chun lee wrote:
Thanks for adding me onto the cvs. before I proceed to check stuff in, can I just check with you that I have understood the things I read in the documentations?
The following are the command to import files:
% export CVS_RSH=ssh % cvs -z3 -d:ext:chunlee@cvs.sourceforge.net:/cvsroot/pure-data
import abstractions/rradical/instruments chunlee source-distWhen I do this, does it mean that all the files (and sub folders) in the directory where this command is issued will all be checked into /instruments at once?
Yes, and that's why you should not bother with "import" for now. The command to add a couple of files is "cvs add [filenames]".
Let's say I want to add rrad.blabla~.pd to /abs.../rradical/effects I chdir to my local cvs tree:
$ cd mycvs/abs.../rradical/effects
Copy over rrad.blabla~.pd:
$ cp /somewhere/rrad.blabla~.pd .
Then "add" it to the cvs:
$ cvs add rrad.blabla~.pd
This yet has to be committed:
$ cvs commit
Now I can remove it again and get a fresh version from the CVS:
$ rm rrad.blabla~.pd $ cvs update
Future "cvs update"s will also download e.g. your changes to that file.
In addition, I will create .cvsrc and .cvswrappers in my home directory as you pointed out. One question, in the .cvsrc, you have "cvs -z3 -q", does this mean when you give the command "cvs" in the terminal, it will execute with the -z3 -q options as default?
Yes.
If so, can I add all this "-z3 -q -d:ext:chunlee@cvs.sourceforge.net:/cvsroot/pure-data" in the .cvsrc if I am only working on Pd in sf.net?
I think, you can, but it's not necessary, and it might mess up if you want to check out something else as anonymous user from Sourceforge. Anyway: when you do your first checkout from CVS using your username/password combo with:
$ cvs -z3 -d:ext:chunlee@cvs.sourceforge.net:/cvsroot/pure-data
co externals
then this information gets saved into your local repository in the "CVS" subdirs. You will never need to specify full paths again, only "cvs commit" or "cvs update", if you are in a directory containing the correct CVS subdir. ("cvs import" however needs to know the full path.)
Frank Barknecht _ ______footils.org__