[cvsnt] Re: How to get exsiting CVSNT repo up to date??
Bo Berglund
bo.berglund at telia.com
Tue Apr 13 20:55:08 BST 2004
On Tue, 13 Apr 2004 00:38:14 +0100, Tony Hoyle <tmh at nodomain.org>
wrote:
>If you're not on d: already then the cd won't do anything - try putting a 'd:'
>in a line above it.
>
Now I have added the D: line and it starts working. I actually tested
running manually from the CVSNT temp dir on C: and I got the same
error message as I saw in WinCvs.
But there is still some strange thing happening, the committed files
won't show up after the update. So I did a test by modifying a single
file and then committing it with postcommit call to the update batch
file active.
Here is the output (a bit shortened):
cvs -z9 commit -m "Checking autoupdate" 2Dgeotechnical.shtml (in
directory C:\Engineering\Projects\PC\agiusa\www\)
Checking in 2Dgeotechnical.shtml;
/pc/agiusa/www/2Dgeotechnical.shtml,v <-- 2Dgeotechnical.shtml
new revision: 1.2; previous revision: 1.1
done
CVSMailer processing
CVSMailer processing consolidated messages
? files/eicust/eiversion.txt
cvs server: Updating .
cvs server: Updating brochure
website update done
***** CVS exited normally with code 0 *****
Note that it duly reports checking in the modified file but the update
does not list this and it does not show up on the website either.
Now I went to the server and executed the same command as postcommit
did:
Manual run of the same batch file as is called in postcommit:
D:\Websites\agiusa>updatewebsite.bat
? files/eicust/eiversion.txt
cvs server: Updating .
P 2Dgeotechnical.shtml
cvs server: Updating brochure
website update done
You can see the difference! Now there is a file that gets patched like
it should.
Is there a timing issue here? Is the file actually not available for
checkout/update until the cvs process has exited completely?
In that case is there any way I can launch the batch file with some
kind of delay (or do I have to again develop a standalone program like
CVSMailer)??
/Bo
(Bo Berglund, developer in Sweden)
More information about the cvsnt
mailing list