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

Re: Trunk, Branch and Tags

From: Nathan Nobbe <quickshiftin_at_gmail.com>
Date: 2007-07-09 02:39:04 CEST

> On 7/8/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
> Oh, goodness, no. trunk, branches and tags should merely be
> directories inside your repository.

yes, exactly. here is a great article
<http://gentoo-wiki.com/Subversion>on setting up a repository.

Ravi, regarding the green arrow in eclipse i dont know what you mean..
when right clicking on a file or directory that is pending a commit (there
have been changes to it locally)
a green arrow is visible in the dialog box that appears next to the
*commit* option.
 is that what youre talking about?

also, if you can checkout, modify and commit a file through subclipse it
should be working. there are different versions
and icon sets available for subclipse; there may be a differnce in version /
configuration on your eclipse installations
between your setup at work and at home.

-nathan

On 7/8/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
>
>
> On Jul 8, 2007, at 10:09, [Sunshine Tech Solutions] Ravi Gehlot wrote:
>
> > Hey nathan,
> >
> > I am totally comfortable with doing the command line. This is
> > what I did:
> >
> > 1) mkdir /home/svnProjects/projectName/trunk
> > 2) mkdir /home/svnProjects/projectName/branches
> > 3) mkdir /home/svnProjects/projectName/tags
> > 4) svnadmin create /home/svnProjects/projectName/trunk
> > 5) svnadmin create /home/svnProjects/projectName/branches
> > 6) svnadmin create /home/svnProjects/projectName/tags
>
> Oh, goodness, no. trunk, branches and tags should merely be
> directories inside your repository. They should not each be their own
> repositories (which is what svnadmin create does -- it creates
> repositories). That would completely defeat the purpose. The purpose
> of branches and tags is that you copy to them from the trunk, but you
> cannot copy between repositories. Do not use svnadmin create here at
> all.
>
> > 7) svn commit -m "Initial Load Successful" /home/projectName/
> > public_html file:///home/svnProjects/projectName/trunk
>
> svn commit does not take a repository URL argument. svn import does...
>
> > 8) rm -rf /home/projectName/public_html
> > 9) cd /home/projectName/public_html
> > 10) svn co file:///home/svnProjects/projectName/trunk
> > 11) svn up (at Revision 01)
> >
> > The directory hierarchy is:
> > home/
> > svnProjects/
> > projectName/
> > trunk/
> > src/
> > branches/
> > tags
> >
> > The URL svn://svn.mydomain/projectName/trunk works just as
> > good. It is also password protected. TortoiseSVN and Eclipse read
> > it just about good.
> >
> > As far as my understanding goes, there should be no change
> > to the trunk directory. All changes should take effect on branches
> > and then merged into trunk. My problem is how do I create my
> > branches and tags repo?
> >
> > Also, I know that when the repos are well installed a little
> > green arrow shows on Eclipse for trunk.
>
>
>
>
Received on Mon Jul 9 02:39:03 2007

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

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