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

Re: A couple of quick questions.

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-10-28 23:23:21 CET

Santeri Hernejärvi wrote:
> How is the 'Last Changed Author' property supposed to work?
> It keeps saying 'anonymous'.

Yes, it is supposed to work.

> I tried setting svn:author, which seems to work, but the last
> changed author keeps saying anonymous.

Oh, that's different - you are setting a versioned property on the
file by that - not an unversioned property on the revision, which is
the last changed author. The next release has clientside code to
change the revision properties.

> Another weird thing, apache seems to ignore the authorization stuff,
> maybe that has got something to do with it.

Well that's definitely the culprit. In the case of mod_dav_svn,
subversion takes the author name from the authenticated apache
request. In the case of local access, subversion takes the current
userid - or whatever is passed in by --username.

> Here's my config, running Apache/2.0.43 (Unix) DAV/2 SVN/0.14.3
>
> <Location /svn/repos>
> DAV svn
> SVNPath /var/svn
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile "/usr/local/apache2/conf/passwd"
> Require valid-user
> SetOutputFilter DEFLATE
> </Location>

Hmm, can't see anything wrong with this - but I'm pretty damn tired
right now.

> If it's a bug somewhere I'd be happy to try to debug it, but
> I'll need some pointers.

Well, you need to get apache asking for authentication - if it
doesn't, it's a problem in the apache configuration.

As to what the problem in the apache configuration really is - I have
no clue. Perhaps duplicate definitions, perhaps wrong config file,
perhaps there's something wrong in the above snippet, though there
shouldn't be.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 23:24:41 2002

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.