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

Re: svn commit: r8562 - trunk/subversion/svnadmin

From: Juanma Barranquero <jmbarranquero_at_wke.es>
Date: 2004-02-06 15:40:36 CET

On 06 Feb 2004 07:58:53 -0600
"C. Michael Pilato" <cmpilato@collab.net> wrote:

> This whole problem is just an odd one to solve.

Yeah.

> Maybe passing NULL for the author
> wasn't so bad, and the revprop hooks should just look for an empty
> author name and substitute in said previously agreed upon "username of
> the administrator."

I thought about that, but...

    <Location /test>
        DAV svn
        SVNPath "C:/data/store/test"
        Order Deny,Allow
        Allow from all
    </Location>

  D:\> svn propset svn:log --revprop -r 1 "new prop" http://localhost/test
  svn: DAV request failed; it's possible that the repository's pre-revprop-change
  hook either failed or is non-existent
  svn: At least one property change failed; repository is unchanged

while:

    <Location /test>
        DAV svn
        SVNPath "C:/data/store/test"
        Order Deny,Allow
        Allow from all
        AuthType Basic
        AuthName "Subversion test"
        AuthUserFile conf/passwd
        Require valid-user
        Satisfy All
    </Location>

  D:\> svn propset svn:log --revprop -r 1 "new prop" http://localhost/test
  Authentication realm: <http://localhost:80> Subversion test
  Password for 'Juanma': *********
  property 'svn:log' set on repository revision '1'

So it seems that "svn propset --revprop" passes a null username when
there's no auth challenge. But having an open repository and allowing
everybody to change revision properties aren't exactly the same thing.

                                                                Juanma

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 6 15:40:54 2004

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

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