Line 12: |
Line 12: |
| | | |
| The command to get a full snapshot in working directory is: | | The command to get a full snapshot in working directory is: |
− | ''
| + | <source lang="bash"> |
− | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
| + | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr |
− | export CVSROOT
| + | export CVSROOT |
− | cvs -q checkout -r HEAD dolibarr
| + | cvs -q checkout -r HEAD dolibarr |
− | ''
| + | </source> |
| + | |
| HEAD means we want last version of files (so last development files). | | HEAD means we want last version of files (so last development files). |
| | | |
Line 24: |
Line 25: |
| | | |
| The command to get a full snapshot in a working directory is: | | The command to get a full snapshot in a working directory is: |
− | ''
| + | <source lang="bash"> |
− | CVSROOT=:ext:yourlogin@cvs.savannah.nongnu.org:/cvsroot/dolibarr
| + | CVSROOT=:ext:yourlogin@cvs.savannah.nongnu.org:/cvsroot/dolibarr |
− | export CVSROOT
| + | export CVSROOT |
− | cvs -q checkout -r HEAD dolibarr
| + | cvs -q checkout -r HEAD dolibarr |
− | ''
| + | </source> |
| HEAD means we want last version of files (so last development files). | | HEAD means we want last version of files (so last development files). |
| | | |
Line 36: |
Line 37: |
| | | |
| ''With linux:'' | | ''With linux:'' |
− | cvs -q update -P -d
| + | <source lang="bash"> |
| + | cvs -q update -P -d |
| + | </source> |
| ''With Windows and Tortoise cvs'' | | ''With Windows and Tortoise cvs'' |
− | "C:\Program Files\CVSNT\cvs.exe" -q update -P -d''
| + | <source lang="bash"> |
| + | "C:\Program Files\CVSNT\cvs.exe" -q update -P -d |
| + | </source> |
| And to set back all your working directory with same files than on CVS server repository (canceling your local changes): | | And to set back all your working directory with same files than on CVS server repository (canceling your local changes): |
| | | |
| ''With linux:'' | | ''With linux:'' |
− | cvs -q update -P -C -d
| + | <source lang="bash"> |
| + | cvs -q update -P -C -d |
| + | </source> |
| ''With Windows and Tortoise cvs'' | | ''With Windows and Tortoise cvs'' |
− | "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d
| + | <source lang="bash"> |
| + | "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d |
| + | </source> |
| | | |
| May be, you will have to change permissions on directories or files after to make then readable by users of your Dolibarr web server. | | May be, you will have to change permissions on directories or files after to make then readable by users of your Dolibarr web server. |