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

Re: [TSVN] Re: Confusing Branch dialog

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-01-25 09:38:47 CET

On Mon, 24 Jan 2005 22:10:18 +0100, Norbert Unterberg <nepo@gmx.net> wrote:
> Steve,
> thank you for your long answer!
> > 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.
> Yes, I finally did it that way. I just thought I could branch, edit a
> file and then check in as one operation.

You can:
- your working copy is on /trunk
- edit the file version.h to reflect the new branch
- create branch/tag, deactivate the "Create the branch/tag directly on
the server"
- enter the URL of the new branch, press OK
Now TSVN creates a new branch with the contents of your working copy.

But: after you've created that branch, you have to either check out a
new working copy of that branch or switch your current working copy
over to the new branch!

> > 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
> This confuses me. When I create a new branch I do not yet have a working
> copy. Does that mean that TSVN checks out a new WC from the new branch,
> or does it switch an existing WC to the branch?

No, TSVN does not automatically switch to the new branch nor does it
automatically check out a new WC of the branch. You have to do that

> The docs say (chapter 4.16.1) that TSVN commits any changes in the
> working copy.
> - Are these changes commited into the new branch, or are they commited
> to trunk before the branch?

They're committed directly to the branch.

> - Are they committed even if it is a URL->URL copy?

No. the URL->URL copy is a repository only operation. That's why it's
enabled by default because it's fast.


  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 Tue Jan 25 09:39:32 2005

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