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

Re: [TSVN] Confusing Branch dialog

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-24 17:45:44 CET

Norbert Unterberg wrote:
> I am trying my first branch in TSVN, and I am having problems
> understanding what exactly the Branch/Tag dialog does. The docs do not
> really help.
>
> What I want is the following:
> I have a tag in the repos. I want to create a branch from that tag and
> start some work on that branch. But the branch should not be committed
> to the repos before I changed the version number in one of the headers.
>
> In SVN command line client I would do this:
>
> svn copy http://path/to/repos/tags/1.00 c:\wc_branch

This would create the branch, but also a new revision (so the branch is
created _before_ you update the version.h file).

> edit c:\wc_branch\version.h
> svn ci c:\wc_branch -m "branched fom 1.00"

Now you would commit your changes of version.h to the new branch.

To do the same in TSVN:
- open the repository browser, go to the tag
- right click on the tag, choose "Copy To..."
- enter the URL of the new branch.

> How would I do this in TSVN?
>
> Or let me ask the question the other way round.
> Subversion's copy command allows all four possible combinations for SRC
> and DEST: WC->WC, WC->URL, URL->WC, URL->URL. What combinations does

WC->WC: right-drag the file/folder to the new location, choose
"Subversion copy to here" from the context menu
WC->URL: right click on the WC, choose "branch/tag". Then in the branch
dialog enter the URL you want to copy your WC to. DO NOT select the
option "Create the branch/tag directly on the server"
URL->WC: Repository browser, right-click on the file/folder, choose
"Copy To..." and enter either a new URL or the path to your WC
URL->URL: Like URL->WC (in the repository browser) but enter a new URL
instead of a path to a WC.
URL->URL (second option): right-click on your WC, choose "branch/tag".
Then enter the new URL. Check the option "Create the branch/tag directly
on the server". If your working copy is checked out from e.g. trunk,
this will do a URL->URL copy of /trunk->theURLyouEntered

> TSVN support in the branch dialog? The dialog itself is not really clear:
> * "From WC at URL", is WC or URL the source? It could mean WC, but the
> help file says the copy is made *inside the repos*?

It's both, depending on if you activate the option "Create the
branch/tag directly on the server" - if activated, it's the URL, if not
then it's the WC.

> * Checkbox "Create the branch/tag directly on the server" is not
> explained in the help file. Between what versions of the copy do I
> select here?
>
> I will do my first branch with the command line client now... :-(

You're giving up really early. :(

Stefan

-- 
        ___
   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 Mon Jan 24 17:46:24 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.