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

(Possible bug) Strange svn log behaviour

From: Štěpán Roh <stepan.roh_at_polarion.com>
Date: Thu, 17 Jan 2008 15:44:11 +0100

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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-17 16:33:45 CET

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.