[cvsnt] Re: Documentation for the CVSROOT/shadow script?
Bo Berglund
bo.berglund at telia.com
Tue Jan 3 11:22:35 GMT 2006
On Tue, 03 Jan 2006 09:24:16 +0100, Bo Berglund
<bo.berglund at telia.com> wrote:
>
>2. The wording in the postcommit description is:
>"This will cause checkins to repository directories starting with
>cyclic-pages to update the checked out tree in /u/www/local-docs"
>My question here is the following:
>If one puts a line like this
>
>^SomeModule HEAD c:/test/shadow
>
>into the shadow script, will a commit to the module SomeModule
>*create* a shadow at the expected position or must one first check out
>a sandbox there and then the shadow action will just "update" it as it
>exists?
>If the latter is the case, will it then handle the addition of new
>directories or will the shadow just consist of the initially checked
>out tree with new updated versions of files?
>
I now made a test that worked out very poorly:
1) Added this line to the CVSROOT/shadow file:
^ModuleXX HEAD C:/DATA/USERS/CVSNT
and committed the file.
2) Edited a file in my ModuleXX module and committed it.
Nothing happened in C:/DATA/USERS/CVSNT it is still totally empty.
Is this how it is supposed to work?
/Bo
(Bo Berglund, developer in Sweden)
More information about the cvsnt
mailing list