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

Re: Revision graph question

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-11-24 17:17:23 CET

Alessandro Iurlano wrote:

> When we did our first branch on tag operation we noticed something
> strange that we did not expect.
> We use tags for released versions (e.g. 1.1, 1.2) and another minor
> version for bugfixed releases (e.g. 1.1d1, 1.1d2).
> Yesterday a customer asked for a bugfix on a released version and for
> this we did our first branch on tag.
>
> The operations we did were:
>
> Checkout of the /tags/release_1.0
> Create branch /branches/release_1.0-dev
> Switch to branch release_1.0-dev
> Apply the fix and commit
>
> Just then we noticed the unexpected thing. The branch creation from the
> tag is visualized in the revision graph
> with a grey node between the old green tag and the new green branch
> node. This grey node has a revision number which
> is the same revision number of the last commit trunk had at the time of
> branch creation. The log message and creation
> date displayed in the tooltip are the same of the trunk one too. Only
> the url is different.

That's expected.

> This unexpected situation, however, seems not to cause any problems, as
> inspecting logs for the new branch does not
> show anything related to this unusual node.

You see: you most likely had the "HEAD revision in the repository" radio
button activated in the branch/tag dialog. When you do that, then the
branch is created directly on the repository from the HEAD revision.
But since a tag is supposed to not get modified, you won't run into any
problems, because since the creation of the tag and now (the HEAD
revision), there were not changes to the tag, and so the newly created
branch is exactly the same as if it were created from the last-committed
revision of the tag.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Nov 24 17:17:40 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.