[cvsnt] Trying to run post update script

Arthur Barrett arthur.barrett at march-hare.com
Fri Oct 19 21:32:45 BST 2007


Joseph,

All the triggers run server-side, there are no client triggers.

CVSNT automatically versions the execute permissions of a file - you do
not need to use a client script to do this.   If a file that is checked
in has execute permission then it will be checked out with execute
permission.  If you checked in a file WITHOUT execute permission then
changed it you may need to use the force checkin option to "fix" it
(after changing the filemode): "chmod 755 fred.pl; cvs ci -m "change
mode" -f fred.pl".

If you do a "cvs log" on the file you will see the mode of each version
listed.

Regards,


Arthur Barrett


  

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Van Quakebeke, Joseph A
> Sent: Saturday, 20 October 2007 3:41 AM
> To: cvsnt at cvsnt.org
> Subject: [cvsnt] Trying to run post update script
> 
> 
> All;
>     CVS server and client - 2.5.03 Build 2382
>  
>     I am trying to run a perl script that will set the execute
> permission for script files.  The perl script works fine when invoked
> from the command line.  When I edited the postcommand file to have it
> run when ever an update of checkout command happens, the module path
> passed is not the path I need.  How do I get CVS to pass the 
> local path
> used during checkout or an update?  Is it possible?  
>  
> Does anyone else try to run postcommands?
> Thanks;
>  
> Joe 
> 
> 
> This e-mail, including attachments, may include confidential and/or 
> proprietary information, and may be used only by the person 
> or entity to 
> which it is addressed. If the reader of this e-mail is not 
> the intended 
> recipient or his or her authorized agent, the reader is 
> hereby notified 
> that any dissemination, distribution or copying of this e-mail is 
> prohibited. If you have received this e-mail in error, please 
> notify the 
> sender by replying to this message and delete this e-mail immediately.
> 
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 


More information about the cvsnt mailing list