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

svn info fails for non-HEAD revisions.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-10-09 10:15:58 CEST


svn info fails sometimes when it shouldn't fail. If you call svn info
with -r and a non-HEAD revision, it fails with
Failed to fetch lock information: 404 Not Found (

And it even fails when I give HEAD as the peg revision.

To reproduce:

$ svnadmin create test
Assume the URL to the new repository is
(note: it works for file:///, but it fails for http/https).
$ svn co test
$ cd test
$ echo test > testfile.txt
$ svn add testfile.txt
$ svn ci -m "adding testfile"
$ echo testing > testfile.txt
$ svn ci -m "modifying testfile"
$ svn mkdir -m "create folder"
$ svn mv -m "move file"
$ svn up
$ cd TestFolder
$ svn info
this works
$ svn info -r1
Failed to fetch lock information: 404 Not Found (

Since locks aren't there in non-HEAD revisions, I think 'svn info'
shouldn't try to fetch those locks at all for non-HEAD revs. At least it
shouldn't fail.

Oh, btw:
this happens with version 1.2.3 and my own compiled binary from the
1.3.x branch!

Since this is a very important function (talking about svn_client_info,
which I use a lot in TSVN), I'd very much appreciate it if this could be
fixed before the 1.3 release.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 9 10:16:51 2005

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.