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

Re: [TSVN] Comment on 1895

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-11-02 22:11:16 CET

Will Dean wrote:
>> No. I'm adding the cache timeout (the same as in GetFullStatus())
>> later. But right now I'm busy with other things.
>
>
> Appended is a patch to do this.

Committed in revision 1897.

> BTW, I don't know if this is my broken copy, the intention, or what, but
> when I right-click a modified file and choose create patch, I get a
> patch which includes *every* modified file in the current folder.

Strange. When I look at the code, it _should_ only produce the diff of
the specified file. In TortoiseProc.cpp, line 1341ff:
if (!PathIsDirectory(path))
{
        SetCurrentDirectory(path.Left(path.ReverseFind('\\')));
        path.Mid(path.ReverseFind('\\')+1);
}

we check if the target is a file. If yes, then set the current directory
to its parent folder, and pass only the filename to the
svn_client_diff() function.
I'll do some tests tomorrow...

> I'd also like to be able to choose to have a patch put on the clipboard,
> but I should probably implement that myself if I want it...

With a separate context menu entry? I possible, I'd like to avoid adding
more context menu entries since that menu is already filled with too
many commands.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Nov 2 22:12:25 2004

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.