Re: [TSVN] Tentative path for SVNFolderStatus
From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-10-28 15:36:29 CEST
At 15:19 28/10/2004 +0200, you wrote:
>The check for "not a folder" shoudln't be necessary, because we never
You might think that, but it doesn't. My observations are not based on a
Unfortunately, I posted a long message about this earlier this morning
>So to fix that, I suggest to just
OK, I'll look at that.
> >
OK, good point. In which case we should always do the "" evaluation.
It wouldn't give an error, just a loss of an optimisation. In fact, what
>Don't do that here. It's already done at the beginning of the COM-function.
OK.
>Drop the if (isFolder) and you're fine.
OK.
>Why do you want to remove that?
Because of the _fullpath lower down, which fills the cache with paths with
(As an aside, doing the strlen in the for() loop is rather inefficient!)
Even if a transform of the filename was required, I'd suggest it's better
> + }
>AFAIK Subversion returns full paths here, no matter what path you pass
It doesn't. It returns short paths if you ask it to do the current directory.
Cheers,
Will
---------------------------------------------------------------------
|
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.