Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Sorry, no. Same as before. 1 and 2. Done exactly as Bo's described. 3. (applications.dtd is a file that is up-to-date) cvs update -- applications.dtd Script execution failed cvs server: Pre-command check failed As before. Is there anything else I need to check or do ? Unhelpfully, Richard. PS. Referring also to March-Hare as I now have CVS Suite and support. -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Bo Berglund Sent: 27 January 2006 17:39 To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: [cvsnt] Re: Precommand - a valid example to test On Fri, 27 Jan 2006 16:45:50 -0000, "kerry richard" <richard.kerry at siemens.com> wrote: >Please could someone post a valid line to put into 'precommand' for me to see it working, in particular something using a batch file. I've tried a variety of syntaxes that I thought might work but so far nothing does. > >for example : >ALL echo "Hello from precommand !" >ALL echo Hello >ALL "C:/windows/system/cmd.exe -c echo Hello" >ALL "E:/Data/CVS/cvsrepo/CVSROOT/default_precommand.bat %c > >Noe of these appear to work, in that from Tortoise I get : >Script execution failed >cvs server: Pre-command check failed > ><red> >Error, CVS operation failed (exit code 1) ></red> > >What am I doing wrong ? >Basic examples with the commands in the ALL line, and calls from the ALL line to a batch file would both be appreciated. > > It is very simple, really. I fixed a test in about 3 minutes: 1. Create a batch file C:/Temp/cvstst/precmdtest.bat: @echo off c: cd c:\Temp\cvstst echo User: %1 echo Param2: %2 echo Param3: %3 echo Param4: %4 2. Edit and commit the precommand file: ALL C:/Temp/cvstst/precmdtest.bat $USER %r %c %d 3. Do an update on a file that is up-to-date: cvs update -- ThirdFile.txt User: AGIUSA\Bosse Param2: /KORVkiosk Param3: update Param4: "Fri Jan 27 17:37:56 2006" /Bo (Bo Berglund, developer in Sweden) _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs