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

Re: svn commit: rev 7508 - trunk/subversion/libsvn_client

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-10-24 02:14:15 CEST

On Thu, Oct 23, 2003 at 04:43:50PM -0500, cmpilato@tigris.org wrote:
>...
> +++ trunk/subversion/libsvn_client/blame.c Thu Oct 23 16:43:49 2003
>...
> - if (strncmp (path, lmb->path, len) == 0 && lmb->path[len] == '/')
> - break;
> + if ((strncmp (key, lmb->path, klen) == 0)
> + && (lmb->path[klen] == '/')
> + && (change->copyfrom_path))
> + {
> + lmb->path = svn_path_join (change->copyfrom_path,
> + lmb->path + klen + 1,
> + lmb->pool);
> + break;
> + }

You've changed the logic here. Now, it will only 'break' when a
copyfrom_path is present. Before, it would break out regardless.

Not sure if that matters from a logical standpoing, but it costs a bit of
extra time.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 24 02:19:55 2003

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.