------------------------------------------- When the admin run the script for the first time do this: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-$LANG ------------------------------------------------- When a user makes a new translation: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository add -m "New Translation" $file ««send password»» cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository commit $file ------------------------------------------------ When a user edits a current translation: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository commit $file ««send password»» ------------------------------------------------- When the db is updated (daily) cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository update -d phpdoc-$LANG -------------------------------------------------
Erm, I would suggest you study the dochowto. It is not at all convinient to specify the -z2 and -d params in all calls. These kind of instructions scare people most :) The dochowto has info on where to put .cvsrc (where you can specify -z3) and how to set CVSROOT (which is used in place of -d). So your comands get reduced in complexity and length...
Goba