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

Re: svn info fails for non-HEAD revisions.

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-10-09 21:26:02 CEST

On Sun, 9 Oct 2005, Stefan Küng wrote:

> 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 (
Yes, this is a bug, and what is worse is that we request the lock on the
wrong path in this case, so we also give the wrong information. I'm
working on sussman's proposal in:
What we fail to do is to make sure that the path is the same in head as
the peg revision before fetching a lock.

Thanks for the clear recipe,

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 9 21:28:22 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.