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

Problem with svn log for unrelated revisions

From: Dirk Thomas <websvn_at_dirk-thomas.net>
Date: Fri, 17 Jun 2011 14:23:00 +0200

While working on issue 3830 i noticed the following behavior of svn log.

In the test repository used in log_tests.py the path "A/D/G/rho" is:
- created in revision 1
- deleted in revision 5
- recreated in revision 8

The following commands result in the expected error "Unable to find repository location for":
svn log -r 2:9 path-to-wc/A/D/G/rho_at_2
svn log -r 9:2 path-to-wc/A/D/G/rho_at_2

But when using HEAD instead of revision 9 (which should be the same) the commands:
svn log -r 2:HEAD path-to-wc/A/D/G/rho_at_2
svn log -r HEAD:2 path-to-wc/A/D/G/rho_at_2
actually show the log of the wrong resource - namely A/D/G/rho_at_8.

This looks like bug to me.
I have added another test to log_tests.py which therefore currently fails.

Can anybody comment on this and verify that this is a bug which should be fixed?

Dirk

Received on 2011-06-17 14:23:36 CEST

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.