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

Re: [TSVN] FW: Flyspray task #72 - Easy application of patches

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-06-08 10:57:34 CEST

SteveKing wrote:
> On 6/8/05, Simon Large <slarge@slarge.plus.com> wrote:
>
>> But TortoiseShell(Proc?) knows how to call TMerge in 2 different ways
>> already.
>>
>> A. Right click on WC folder and apply patch. TMerge knows where to
>> apply it, and asks for a patch file. It is getting the WC
>> information from somewhere.
>
> TMerge gets a path to a folder. Folder? Hmm - that has to be the
> target.
>
>> B. Right click on a patch file. TMerge knows what to apply and asks
>> for a WC.
>
> TMerge gets a path to a file. File? I guess that must be the
> diff/patch file then.

Ah, I see. How about looking at the folder containing this file and see
if it contains a sub-folder call .svn or _svn. It's not ideal because it
means you are making an assumption that Subversion will always use that
WC structure, without asking the subversion libs to do that for you.

But if you don't like that, then just setting the default folder is the
next best thing.

> No information about wc or not wc.

Wc or not wc, that is the question ;-)

Simon

-- 
       ___
  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 Wed Jun 8 10:57:12 2005

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.