[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 Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sat, 13 Feb 2010 10:29:22 +0100

Stefan Küng wrote on 12 Feb 2010 20:20:11:

> I've created a preliminary spec for how the 'tagging externals' feature
>
> should work.
>
> Please comment!
>
> You can find it here:
> http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/Notes/Feature
> Proposals/TagExternals.txt
>
> (username: "guest", leave password empty)
Hi Stefan,

here my findings:

> Functional Details
> ------------------
>
> The branch/tag dialog will show an option to tag the
> external properties. This requieres the working copy
> to be scanned for svn:external properties. This scan
> is done in a background thread like the status thread
> which is used now to find the working copy revision.
>
> Once the thread is finished, the option controls get
> enabled if there are svn:external properties found
> in the working copy.
The w/c crawl should also check for modifications, mixed
revision w/cs, and sparse w/cs (not sure how to do the
latter efficiently). It should warn the user in either case.
> 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).

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.

Also, the externals revision found in the w/c should
be the revision that external gets fixed to.

> Possible Development Stages
> ---------------------------
>
> (1) Implement a svn:external parser which is able
> to detect whether an external points to HEAD
> or is already fixed. And allow modifying
> the property to set a fixed revision.
I used svn_wc_parse_externals_description3() to parse the
externals definitions (see RepositoryLister.cpp).

-- Stefan^2.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2447238

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-13 10:29:43 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.