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

Re: How do I Branch Without Getting Branch Folder?

From: Barry Gershenfeld <barry_g_at_zmicro.com>
Date: 2006-04-05 21:50:34 CEST

The title of the thread immediately suggested to me that the paths don't
agree on the two areas. What if he had something like this?

MyProject/Trunk

MyProject/Branches/Trunk/

I say this because I have accidentally done things like this a lot. It is
not easy to remember how the interface acts, and now that I'm getting used
to it, I have found an inconsitency. In tsvn, if I check out
MyProject/Trunk, I will get the files (or folders) that are in
Trunk. Yesterday I did this same thing using svn from a (Cygwin) command
line:

svn checkout svn://localhost/sandbox/trunk

And I got 'trunk' created as a folder, with the contents put in the trunk
folder.

Now, with an "imbalance" like that, if I were to switch, it would indeed
delete the directory and replace it with the 'trunk' folder, the populate
'trunk' below. When I switched back, it would delete the trunk folder and
repopulate the current folder with the files directly. Of course, I could
avoid this by carefully selecting which directory I switch to, but none of
this will happen until I understand what my repository really looks
like. Hence, "repo-browser" is a godsend!

If anyone would care to comment about the checkout path inconsistency, I
would be interested. I just tried it on the command line in Linux (rather
than Cygwin) and got the trunk folder included again. Come to think of it,
how do I not get the folder...oops, now I'm on the wrong list :-)

Barry

> >From all your comments it sounds like you either checked out your
>trunk incorrectly, or created your branch incorrectly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Apr 5 21:52:42 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.