Peter McNab wrote:
> On the local machine, I browse to the project and select Trunk then
> right click to open TortoiseSVN menu.
> Click to bring up the dialog Branck/Tag box.
> It shows the source URL as "http://192.168.1.20/svn/BuyChecker/Trunk"
> The To URL also shows "http://192.168.1.20/svn/BuyChecker/Trunk". That
> URL cannot be changed.
> I modify the To URL to read "http://192.168.1.20/svn/BuyChecker/Branch",
> enter descriptive text and Click OK
You should give the new branch a name. That means enter an URL like
> A progress box titled "SVN Copy.. Finished".
> The message says "adding C:/Delphi/BuyChecker/Trunk"
> "Completed at revision 8"
That's because the branch you've created is created directly in the
> An inset notification says to the effect "The working copy is on the
> Trunk and to use the switch command etc etc."".
> (Which I ignore at this point because as an ex CVS user I have no idea
> what it means, despite reading the Docs)
Explanation of the message:
You have your working copy pointing to /trunk. You create a branch of
that working copy (or directly on the repository from /trunk).
After you've created the branch, your working copy still points to
/trunk, not to the new branch you've created. That's what the message
tries to tell you. If you want now to work on the newly created branch,
you either have to check out a fresh working copy from there or (as the
messagebox tells you) switch your working copy (pointing still to
/trunk) over to the new branch.
> At this stage, the Branch still looks empty.
> RightClick on the Branch folder then click SVN Update and files stream in.
> However they end up in a folder called Trunk in the Branch Folder, not
> directly in the Branch folder as I would expect.
> C:/Delphi/BuyChecker/Branch/Trunk/..all here. not
> C:/Delphi/BuyChecker/Branch/.. as I desired.
> Am I doing something wrong or is this just how it is?
That's a 'feature' of the Subversion API (which I hope will be changed
someday, an issue is already filed for it): if the target folder (in
your case http://192.168.1.20/svn/BuyChecker/Branch) already exists,
then a new folder is automatically inserted, in your case 'trunk'
because that's the folder from where you create the branch.
To avoid that, give the new branch a name (as mentioned above) and make
sure that branch/foldername doesn't already exist.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sat Jan 1 16:10:56 2005