[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: commit-access-control.pl '-' is not recognized

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: 2007-07-23 02:54:32 CEST

 Hi All,

Further investigation reveals the 'SAFE_READ' while loop is causing the
problem as shown below.
While (<SAFE_READ>)
{
   chomp;
   push(@output, $_);
}

I tried running the script from command line,as shown below, to no avail
(I got the same error)
C:\Perl\bin\perl C:\Subversion\repo\hooks\commit-access-control.pl
"C:/repositories/myReop" "26"
C:\Subversion\repo\hooks\commit-access-control.cfg

Could anyone using this script successfully, on windows, please assist
me. I would appreciate if you could give me a copy of your script.

Thanks in advance for your help.

Thanks
Lakshman
-----Original Message-----
From: Srilakshmanan, Lakshman
[mailto:lakshman.srilakshmanan@police.vic.gov.au]
Sent: Friday, 20 July 2007 7:18 PM
To: users@subversion.tigris.org
Subject: commit-access-control.pl '-' is not recognized

Hi All,

I have a pre-commit.bat that wraps a commit-access-control.pl

The pre-commit.bat file contains
C:\Perl\bin\perl C:\Subversion\repo\hooks\commit-access-control.pl %1 %2
C:\Subversion\repo\hooks\commit-access-control.cfg

When I commit a change I get the following error
commit-access-control.pl '-' is not recognized as an internal or
external command, operable program or batch file.
C:\Subversion\repo\hooks\commit-access-control.pl: '..............-t
26-1' failed with no output.

I have tested commit-access-control.pl under Linux in my last job and it
did work.

I found one reference to this problem
http://svn.haxx.se/users/archive-2004-11/0929.shtml but it does not
appear to be the issue in my case.

Any help is greatly appreciated.

Thanks
Lakshman

=======================================================
The information contained in this email and any files attached may be
confidential information to the intended recipient and may be the
subject of legal professional privilege or public interest immunity.

If you are not the intended recipient, any use, disclosure or copying is
unauthorised.

If you have received this document in error please telephone 1300 307
082

*******************************************************************
This footnote also confirms that this email message has been swept for
the presence of computer viruses.
*******************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

=======================================================
The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal professional privilege or public interest immunity.

If you are not the intended recipient, any use, disclosure or copying is
unauthorised.

If you have received this document in error please telephone 1300 307 082

*******************************************************************
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
*******************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 23 02:56:26 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.