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

Re: Fixing externals on branch/tag

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 29 Apr 2010 21:07:43 +0200

On 29.04.2010 15:01, Oddvar Kloster wrote:
> When creating a branch/tag, the suggested revision for an external
> (whether it is already fixed to a revision or not) seems to be the last
> committed revision of the external. However, my external may point at a
> directory under a branch that was created after the last commit in that
> subdir. In that case, the tagged external will point at a url/rev
> combination that does not exist. I suggest using the revision that the
> external is updated to instead.

Huh? Can you explain this more detailed please?
How do you create a branch *after* you commit something to one of its
subfolders??

> A less important point: There seems to be no indication of which
> externals are already fixed to a revision and which are not. I think
> some indication of this would be useful, to know which ones to pay
> attention to.

Good point.
http://code.google.com/p/tortoisesvn/issues/detail?id=28

> A related thought: Now that there are dedicated dialogs for editing
> externals, would it make more sense to put the functionality for fixing
> external revisions there, instead of in the branch/tag dialog? There
> could be a button for updating the explicit revision of the externals
> that are selected in the list, to the revision in the working copy. If
> none are selected, update all. To me, this seems like a satisfactory
> replacement, which is useful in more situations, e.g. also for normal
> commits. The branch/tag dialog could simply give a warning if the user
> is trying to branch/tag without fixed external revisions.

I think the place for this really should be the branch/tag dialog.
Because if it is in the properties dialog, it's not possible to fix the
externals to a specific revisions if you branch/tag directly from urls.
In that case, the branch/tag dialog tells the progress dialog to fix the
external properties after the branch/tag is made, and the progress
dialog then fixes those externals directly on the repository which
unfortunately creates another revision.

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=2599095
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-29 21:07:54 CEST

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.