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

RE: Re: Show log fails on file repository with log caching enabled

From: Andreas Boehm <aboehm_at_matherm.de>
Date: Wed, 1 Jul 2009 06:06:53 -0700 (PDT)

> Skippy Duck <skippyduck99_at_yahoo.com> wrote on Thu, 3 Jul 2008 10:11:23
> -0700 (PDT):
>
> > >[snip]
> > >> file:///\x5cWd-fs/Software/svnrepos/Usr/steved/MillWideSuiteWork/V16
> > >> file:///\x5cWd-fs/Software/svnrepos
> > >>
> > >> I looked up x5c in an ASCII table, its a "\".
> > >>
> > >> If I disable log caching, Show log works.
> > >
> > >Have you tried clearing/emptying the log cache?
> > >
> > >Stefan
> >
> > Just did. No change.
> >
> > I did manage to get through our firewall and started looking at
> > TSVN sources. It's a big learning curve for me, but I did find
> > that src\SVN\TSVNPath.cpp does some fancy footwork with paths
> > in CTSVNPath::GetSVNApiPath replacing "file:////" with
> > "file:///\\". LogCache appears to have its own CPathUtils object
> > that doesn't appear to deal with the mapping.
> >
> > I know very little about how things work, and don't have time
> > to look into it right now, but this is what a quick search
> > turned up.
> >
> > Regards,
> > Steve
>
> Fixed the log caching issue with UNC paths in r13436.
> So, it should work with the next nightly (and 1.5.1).
>
> -- Stefan^2.

The fix does not work in the newest revision 16652. The URL that should be adjusted is "URL" instead of "svnURLPath", because "svnURLPath" comes from "CTSVNPath url" parameter which has already built-in functionality for the required format. "URL" is a simple string and was not adjusted.
I've attached an image, with the error seen, and a patch file.

Received on 2009-07-01 15:49:52 CEST

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

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