Gettings file names in scripts executed through commitinfo
Hello, We are using Cvs for Unix Repositories and both Unix and Windows clients. I am using a script through commitinfo to restrict user access to different modules located under the same $CVSROOT. The script reads from a text file containing a list of repositories along with users who can access each repository and grants access accordingly. When a single file is committed from the command line, the script works fine. But with multiple files, only the first file is acted upon and the script exited without working on the others. How could I get the list of all my filenames to be executed by the script ? Thanks in advance. -Srijit. __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: lock-modify-unlock model with CVS
--- Nate Swenson [EMAIL PROTECTED] wrote: Are you running a patched version on both the client and the server? The patched version of cvs is running on a linux server. The client is running WinCvs on a Win2000 workstation. I think this is the root of your problem. The client needs to be patched as well. So how to I apply the patch to WinCvs? You'll need to ask someone familiar with WinCVS or create a patch for it yourself. If all WinCVS does is forward calls to a client CVS executable, then it shouldn't be too difficult to patch to add the -c flag to edit. Also, if this is true, you'll still need to patch the client CVS executable the way you patched the server. Noel PS Can you make sure that you're replying to [EMAIL PROTECTED] as well, please, so that others may benefit from this thread and some others may cover the holes I leave behind? __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
advisory lock patch
I am running a patched version of cvs on a linux server and the clients are running WinCvs on Win2000 workstations. The -c options that should be available through the patch are not working in WinCvs and the root of my problem seems to be that I haven't applied the patch to WinCvs. Does anyone know how I would go about applying the advisory locks patch to WinCvs? Thanks! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: user unknown to this system in Windows2000 when I commit
Rob Helmer wrote: If you must run on Windows 2000, try CygWin : http://www.cygwin.com It comes with cvs and a bunch of other Unix tools compiled for Windows. Note that using Cygwin for Windows CVS can cause great headaches unless you pay constant attention to line terminators. For pure Windows development, the graphical WinCVS interface (http://cvsgui.org) is better for most. /|/|ike ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Retaining execute permissions on scripts.
Hi all, I have some shell scripts that are executed from the working directory of one of the users in our system (Call it 'user X'). The problem I am having is that, if the scripts are modified and user X updates, the execute permissions are gone. CVSREAD is set, but I thought it would only affect write permissions. Is there a way to prevent this behaviour, short of wrapping 'cvs update' for user X in a script that will 'chmod +x' these scripts each time an update is performed? Thanks in advance for any insight. -- James Hughes Esponsive Communications 613-549-3708 ext. 237 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Retaining execute permissions on scripts.
--- James Hughes [EMAIL PROTECTED] wrote: I have some shell scripts that are executed from the working directory of one of the users in our system (Call it 'user X'). The problem I am having is that, if the scripts are modified and user X updates, the execute permissions are gone. CVSREAD is set, but I thought it would only affect write permissions. Is there a way to prevent this behaviour, short of wrapping 'cvs update' for user X in a script that will 'chmod +x' these scripts each time an update is performed? Make sure that the archive file permissions have the execute bit set and that the users' umask doesn't mask it out. HTH, Noel __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Funky error when running log
When running `cvs log` on the file Image55.jpg, I get the following output: cvs log Image55.jpg (in directory C:\dssi\cameras\cam1\tools\doc\WinCVS\) cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `þ|-Á¿Ã¯Ãÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `ÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `ÿ' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `cÃ¥' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `cÃ¥' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs log: warning: duplicate key `cÃ¥' in RCS file `E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v' cvs [log aborted]: EOF in value in RCS file E:\CVSROOT/cameras/cam1/tools/doc/WinCVS/Image55.jpg,v The file is stored as binary. When I look at the JPEG, I get a correct image. These errors manifested themselves when I tried to tag the tree, yet I've already tagged this file twice. Any ideas? TiA, /|/|ike ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs