[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: [Sunshine Tech Solutions] Ravi Gehlot <ravi_at_sunshinetechsolutions.com>
Date: 2007-07-08 17:09:33 CEST

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
   7) svn commit -m "Initial Load Successful"
/home/projectName/public_html file:///home/svnProjects/projectName/trunk
   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.

Nathan Nobbe wrote:
> > On 7/8/07, *[Sunshine Tech Solutions] Ravi Gehlot*
> <ravi@sunshinetechsolutions.com
> <mailto:ravi@sunshinetechsolutions.com>> wrote:
> > I did a mkdir trunk, mkdir branches and mkdir tags. However, I think
> I should have created with **svn mkdir trunk branches tags**. Correct?
>
> thats kind of what i thought happened. you have the right idea as
> well, but remember youll need to reference the repository location in
> the svn mkdir command.
> you can verify the repository location using
> svn list
>
> i use eclipse as well, with the subclipse module, but i highly
> recommend getting comfortable w/ the basic cli commands of the svn
> client as well. sometimes the guis get flakey and the only way to
> resolve the issue is through the command line.
>
> -nathan
>
> On 7/8/07, *[Sunshine Tech Solutions] Ravi Gehlot*
> <ravi@sunshinetechsolutions.com
> <mailto:ravi@sunshinetechsolutions.com> > wrote:
>
> Hey Nathan,
>
> I did a mkdir trunk, mkdir branches and mkdir tags. However, I
> think I should have created with **svn mkdir trunk branches
> tags**. Correct?
>
> Ravi.
>
>
> Nathan Nobbe wrote:
>> > On 7/7/07, *[Sunshine Tech Solutions] Ravi Gehlot* <
>> ravi@sunshinetechsolutions.com
>> <mailto:ravi@sunshinetechsolutions.com>> wrote:
>> > I noticed that whenever I try to create a tag it errors out
>> telling me
>> > that the tags directory is not with the repository.
>>
>> what errors are showing up? also, how did you add the trunk,
>> tags, and branches directory when
>> setting up the repository?
>>
>> -nathan
>>
>> On 7/7/07, *[Sunshine Tech Solutions] Ravi Gehlot* <
>> ravi@sunshinetechsolutions.com
>> <mailto:ravi@sunshinetechsolutions.com>> wrote:
>>
>> I have been working with SVN for a few weeks now and I set up
>> the server
>> that runs the svn daemon. The repositories were created and 3
>> folders
>> were also created: trunk, branches and tags.
>>
>> I noticed that whenever I try to create a tag it errors out
>> telling me
>> that the tags directory is not with the repository. Also, in
>> Eclipse, I
>> noticed that the trunk directory is not a green up arrow like
>> it shows
>> at my job. Did I do anything wrong?
>>
>> Ravi.
>>
>> --
>> -------------------------------------------
>> Ravi Gehlot.
>> Sr. Management
>> Sunshine Technology Solutions, LLC
>> http://www.sunshinetechsolutions.com/
>> <http://www.sunshinetechsolutions.com/>
>> ravi@sunshinetechsolutions.com
>> <mailto:ravi@sunshinetechsolutions.com>
>> Cell Phone: (407) 860-3775
>> Business Line: (407) 745-1433
>> -------------------------------------------
>>
>> Confidentiality Notice: This message including any
>> attachments is for the sole use of the intended
>> recipient(s) and may contain confidential and privileged
>> information. Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the
>> intended recipient, please contact the sender and
>> delete any copies of this message.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> users-unsubscribe@subversion.tigris.org
>> <mailto:users-unsubscribe@subversion.tigris.org>
>> For additional commands, e-mail:
>> users-help@subversion.tigris.org
>> <mailto:users-help@subversion.tigris.org>
>>
>>
>
>
> -- ------------------------------------------- Ravi Gehlot. Sr. Management Sunshine Technology Solutions, LLC
> http://www.sunshinetechsolutions.com/
> ravi@sunshinetechsolutions.com <mailto:ravi@sunshinetechsolutions.com> Cell Phone: (407) 860-3775 Business Line: (407) 745-1433 ------------------------------------------- Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message.
>
>
>

-- 
-------------------------------------------
Ravi Gehlot.
Sr. Management
Sunshine Technology Solutions, LLC
http://www.sunshinetechsolutions.com/
ravi@sunshinetechsolutions.com
Cell Phone: (407) 860-3775
Business Line: (407) 745-1433
-------------------------------------------
Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Sun Jul 8 17:08:26 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.