[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: boomtown15 <boomtown15_at_msn.com>
Date: Tue, 19 Aug 2008 14:17:59 -0700 (PDT)

I had the exact same problem and I was able to alleviate it by making sure
commits were asking for an author. The problem was that when I upgraded to
use CollabNet Subversion 1.5.1 my original httpd.conf that had all the
configuration was overwritten by the default on install. What I had to do
was make sure this section of my httpd.conf was updated correctly so
Subversion would prompt for an author on commits:
----------------------------------------------------
<Location /svn>
  Dav svn
  SVNParentPath C:/SVN/repos
  SVNListParentPath On

  AuthName "SVN Server"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIDomain mydomain
  SSPIofferBasic On
  Require valid-user

 AuthzSVNAccessFile C:/SVN/conf/authz
</Location>
-----------------------------------------------------

After changing this section and adding the modules to the top of httpd.conf
and restarting Apache I was able to successfully use the
commit-access-control.pl script. If you are still having problems make sure
to check out your Apache error log.

Srilakshmanan, Lakshman wrote:
>
> 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_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/commit-access-control.pl-%27-%27-is-not-recognized-tp11704869p19058888.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-19 23:18:25 CEST

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.