Well, I thought it was fixed, but it doesn't appear to be. I have more
information now.
I updated both the client and the server to 1.0.2, and experienced the
problem. I performed the following test on the server machine, to
ensure the various binaries for both client and server came from the
same installation package.
1. Login to Windows as a user that doesn't have a Subversion
authentication cache (I assume deleting the cache works as well).
2. svn co http://path/to/my/repos/and/project/dir
# Server retrieves files
3. cd <project dir>
4. <create myfile.txt>
5. svn add myfile.txt
# Server correctly challenges for password
6. Type in correct password
# Commit succeeds.
7. svn log myfile.txt
# (no author) listed as the file's author
I looked at issue 1786. It seems to deal with multiple authors. I'm
not familiar enough with the internals of subversion to be sure that my
issue is related, but I think it could be. The only way I can think of
"multiple" authors being involved with this is *IF* it counts the
'checkout' as being done by one author [(no author)] and the 'commit'
being done by another [tims]. In that case, the (no author) should lose
to any authenticated author, right? But what-do-I-know, I haven't read
enough source yet... :-)
Here's the output (with URL and dir cleaned up a bit) of the procedure I
described above:
My server configuration info can be found in my original email here:
http://www.contactor.se/~dast/svnusers/archive-2004-04/1232.shtml
Thanks a ton!
--Tim
Subversion 1.0.2 output after adding file to "mixed" authentication scheme.
======================================================
C:\>svn co http://path/to/my/repos/and/project/dir
A dir\me.txt
A dir\asdf.txt
A dir\test.txt
Checked out revision 75.
C:\>cd dir
C:\dir>ls
asdf.txt me.txt test.txt
C:\dir>touch myfile.txt
C:\dir>write myfile.txt
C:\dir>svn add myfile.txt
A myfile.txt
C:\dir>svn ci -m "test"
Adding myfile.txt
Authentication realm: <http://path/to/my/repos/and/project/dir:80>
Subversion demo repository
Password for 'tims': *************
Transmitting file data .
Committed revision 76.
C:\dir>svn log myfile.txt
------------------------------------------------------------------------
r76 | (no author) | 2004-05-03 14:46:43 -0700 (Mon, 03 May 2004) | 1 line
test
------------------------------------------------------------------------
======================================================
Ben Collins-Sussman wrote:
>On Mon, 2004-04-26 at 20:31, Tim Shadel wrote:
>
>
>>OK. Here's what I want to achieve:
>>
>> 1. SVN repository only available through ViewCVS and Apache
>> 2. Anonymous browsing of SVN repository via Apache
>> 3. Only authorized users may change files
>> 4. Many repositories under one parent path
>>
>>
>
>I think that you're experiencing a bug that was fixed in svn 1.0.2. Try
>upgrading. (See issue 1786 for more detail.)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 3 23:55:34 2004