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

Re: tagging externals

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 13 Feb 2010 23:02:09 +0100

On 13.02.2010 22:50, Stefan Fuhrmann wrote:
> On 13 Feb 2010 10:39:47, Stefan Küng wrote:
>>
>> On 13.02.2010 10:29, Stefan Fuhrmann wrote:
>>
>> />> There are two possible work flows: /
>> />> /
>> />> (1) Modify the external properties in the working copy, /
>> />> then create the branch/tag from the working copy. /
>> />> (2) branch/tag from a revision or HEAD in the repository, /
>> />> then change the svn:external properties in the /
>> />> repository, causing a new revision for each changed /
>> />> property. /
>> /> I would allow both workflows, depending on the path /
>> /> we operate on (w/c or URL). /
>>
>> Sure, both will be allowed. I didn't mean this to mean 'either/or' but
>> both with the user choosing which one to use.
>>
>> /> For case (2), it would be helpful to specify a depth /
>> /> (root, children, infinite). Otherwise, it may take a very /
>> /> long time to finish. In fact, it might be helpful to c/o /
>> /> into a temporary working copy. /
>>
>> You mean this should also be done in the repo browser? I don't think
>> that's a good idea:
>> * would take way too long
>> * would put a lot of stress on the server
>>
>> I like to limit this to the branch/tag dialog which is always started
>> from a working copy.
>>
> I'm confused now. Workflow (1) is for working copy paths, right?
> Workflow (2) is not supposed to flood the repo server with requests.
> What does it do instead?

In the branch/tag dialog, there are three radio buttons: 'HEAD',
'specific revision' and 'WC'.
They're used to specify where to tag from. Workflow (2) is used for
'HEAD' and 'specific revision'. But the branch/tag dialog is still
started from a working copy.

>> I know :)
>> Not sure if I can use the same though, since we don't have to just parse
>> the externals but also have to modify them.
>>
> It seems the symmetrical "svn_wc_construct_externals_description()"
> is missing. However, it is not difficult to write:
>
> * use the svn_wc_parse_externals_description3 output as input
> * make URLs as relative as possible
> * issue one text line per external

Yes, I thought of that too. One problem: it could change the style the
user used to create the external. But I guess that's not really important.

>> I'm still working out some details on how to handle the externals and
>> the modifications. As soon as I have everything worked out, I'll start
>> coding...
> I could use the same functionality for manipulating externals
> in the repo browser.

I'll try to keep it universal enough so you might use it there too.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2447348
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-13 23:02:18 CET

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.