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

Re: Bug in Compare Revisions?

From: Patrick Ryan <tigris_at_pryan.org>
Date: 2005-12-11 23:10:53 CET

On Sat, Dec 10, 2005 at 09:18:34AM +0100, Stefan Küng wrote:
> Patrick Ryan wrote:
>
> >I have encountered a scenario where compare revisions fails.
> >
> >Procedure:
> >- Add a file to an existing working copy.
> >- Commit.
> >- Rename the file using the TortoiseSVN rename function.
> >- Commit.
> >- Go to Show Log and try to compare revisions for the old and new names.
> >
> >If you want, edit it after renaming it, but the results will be the same
> >if comparison is attempted between the modified version and the version
> >before the rename.
> >
> >Expected Result: the files are compared.
> >
> >Actual Result: a dialog with "Failed to fetch lock information: 404 Not
> >Found (<url>)".
> >
> >The reason seems simple enough: the change in path and name was not
> >taken into account when fetching the files for comparison.
>
> While your report is detailed and good, your conclusion is wrong :)
> It's not TSVN's fault here, but a bug in the Subversion library. I've
> reported this bug a while ago, and it should be fixed for 1.3. So please
> try a nightly build.
>
> The bug is that svn_client_info() throws an error when it asks the
> information from a pre 1.2 server which doesn't know locks. What it
> should do is to just leave the lock information empty, because with pre
> 1.2 servers there simply isn't any lock info available.
> And TSVN has to call svn_client_info() before doing the actual diff to
> get some information about the targets to diff (i.e. file or folder,
> revisions, ...).

Stefan,

It works with TortoiseSVN-1.3.0.5124-dev-svn-1.3.0.msi from 2005-12-10,
thanks! I also checked the same comparison with
TortoiseSVN-1.2.6.4786-svn-1.2.3.msi which fails as described above. On
the backend, btw, I'm using subversion-1.2.3dfsg1-2 from Debian sid.

Thanks,
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Dec 11 23:11:27 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.