You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Štěpán Roh <st...@polarion.com> on 2008/01/17 14:44:11 UTC

(Possible bug) Strange svn log behaviour

Hello.

I've sent this to dev list, but it did not get through (I am not able to 
find it in the archives) so I am resending it here.

Please CC me as I am not subscribed, thank you.

I believe I ran into a bug in Subversion. Client version is 1.4.2 
(r22196), server version (mod_dav_svn) is 1.4.3 (r23084). The test case is:

1. create clean repository (its http URL will be referred to as REPO_URL)
2. have one user called "admin" in your passwd file (and use it 
throughout the rest of this test case for repository access)
3. have access file with this content:

[/]
* = rw
admin = rw

[/secret]
* =
admin = rw

4. commit addition of file secret/secret.txt (as revision 1)
//5. try this:

$ svn log -r 1 -v REPO_URL/secret
------------------------------------------------------------------------
r1 | admin | 2007-12-20 17:31:26 +0100 (Thu, 20 Dec 2007) | 1 line
Changed paths:
  A /secret
  A /secret/secret.txt


------------------------------------------------------------------------

6. then this:

$ svn log -r 1 -v REPO_URL
------------------------------------------------------------------------
r1 | (no author) | (no date) | 1 line


------------------------------------------------------------------------

7. change access file:

[/]
#* = rw
admin = rw

[/secret]
* =
admin = rw

8.

$ svn log -r 1 -v REPO_URL/secret
------------------------------------------------------------------------
r1 | admin | 2007-12-20 17:31:26 +0100 (Thu, 20 Dec 2007) | 1 line
Changed paths:
  A /secret
  A /secret/secret.txt


------------------------------------------------------------------------

9.

$ svn log -r 1 -v REPO_URL
------------------------------------------------------------------------
r1 | admin | 2007-12-20 17:31:26 +0100 (Thu, 20 Dec 2007) | 1 line
Changed paths:
  A /secret
  A /secret/secret.txt


------------------------------------------------------------------------


Is that really a bug or am I doing something wrong? Thank you very much.

Best regards.

Stepan Roh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org