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

Re: start-commit bug?

From: Jacky <wyqjnm_at_gmail.com>
Date: Thu, 17 Jul 2008 10:00:45 +1200

Hi Jay,

My earlier post address the same issue, yet no one reply yet. This issue
happens when you use mod_dav_svn (http://... as URL). But it works if
you use svnserve as backend (svn://...). It looks like a bug.

Jacky.

Jay Flaherty wrote:
>
> I came across what I think is a bug with the start-commit hook. Have
> not found evidence that this is a know bug.
> Submitting here before I post to the dev list.
>
> I am running ver. 1.5.0 of the server and client.
> I have authentication on for select users with write access
> I have a start-commit hook that checks the capabilities parameter for
> the 'mergeinfo' string.
> This hook script rejects the commit and throws an error if this string
> does not exist.
>
> Everything works fine if you are already authenticated but if you need
> to authenticate then
> the capabilities parameter is empty and the start-hook an error.
>
> Steps to reproduce:
> using ver. 1.5.0 of the client and server:
> 1. create a start-commit hook script (see attachments)
> 2. checkout some project from your repository and make some changes
> 3. delete ~/.subversion/auth directory
> 4. commit changes to your repository (should ask for your
> username/password)
> 5. authenticate yourself
>
> expected results:
> 1. should allow you commit your changes
>
> actual results:
> 1. rejects commit and spews out error message from the hook script.
>
> Is this a known bug and can anybody else verify this?
>
> Thanks,
>
> Jay
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-17 00:01:22 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.