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

Re: [PATCH] Don't determine common path when creating a patch

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-01-22 22:43:22 CET

On Sunday 22 January 2006 20:38, Stefan Küng wrote:
> I've tweaked your patch so it will work correctly. The reason for my
> change was a crash when passing multiple paths on the command line
> directly (separated by the '*' char), as outlined in our docs.
>
> [snip]
>
> Committed your patch with my tweaks in revision 5492.

CTSVNPath sDir;
if (root.GetWinPathString().Find('*')<0)
        sDir = path.GetCommonRoot();
else
        sDir = CTSVNPath(root);

Shouldn't the comparision be ">=0" instead of "<0"?

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jan 22 22:44:07 2006

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.