开发者

Still not understanding SVN Repositories in eclipse

I am about to import my project into svn but don't want to stuff it up.

My structure is like this:

Repositories:

/var/svn/client_name1/

/var/svn/client_name2/

Project directories under /var/svn/client_name1/

                 project1/
                          trunk/
                          branches/ 
                          tags/
                 project2/
                          trunk/
                          branches/ 
                          tags/

My Apache config looks like this:

<Location /svn>
DAV svn
SVNParentPath /var/开发者_开发技巧svn
SVNListParentPath on
AuthType Basic
AuthName "My Repository"
AuthUserFile /etc/svnpass
Require valid-user
AuthzSVNAccessFile /etc/svnauth
</Location>

Now I can access my svn repository

http://mysite.com/svn/client_name1/

however, there are no projects displayed here, just a Revision 0 message (is that correct)?

I can connect to the repository in eclipse using the same url.

If I want to place an existing project into the repository what url do I use?

http://mysite.com/svn/client_name1/project1

OR

http://mysite.com/svn/client_name1/project1/trunk


I have my set up as: http://mysite.com/svn/client_name1/project1/trunk

So that I have:

/project
    /trunk
    /branches
    /tags

With appropriate "copies" of the project in /branches and /tags. While copies use "svn copy", they only need to copy changes from the baseline.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜