> -----Original Message-----
> From: Pat Farrell [mailto:pfarrell_at_pfarrell.com]
> Sent: Monday, 19 May 2008 16:15
> To: users_at_subversion.tigris.org
> Subject: how to add new project to existing repository
>
> I'm sorry, this has to be a faq, but I can't find it in the
> faq or redbean.
>
> I have a repository with a bunch of projects. (svn thru apache dav)
>
> I can't find out how to add a new project to the repository.
Hi Pat
Subversion understands repositories natively, but everything else - even
tags and branches - are simply directories. Assuming that all your
current projects are under the repository root, you'd add a new project
like this:
svn mkdir http://hostname/svn/repository/project -m "Creating a new
project"
This assumes that http://hostname/svn/repository is your repository path
- modify to suit.
Alternatively, if you have the repository checked out locally, you can
create the new project's directory locally (mkdir project) and then
commit. This would allow you to populate the project and commit
everyhting in one go.
Cheers
John
>
> Can I do this from the a client? do do I have to do this with
> an admin function on the server with the repository?
>
> A client side command such as this fails;
>
> svn add musicutils/
> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory
>
> Thanks.
>
> --
> Pat Farrell
> http://www.pfarrell.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
John Niven
Senior Developer
Bravura Solutions Limited
Level 1, Jonmer House, 95 Hurstmere Road
Takapuna, Auckland
www.bravurasolutions.com
This mail message (and attachments) may contain information that is
confidential to Bravura Solutions. If you are not the intended recipient
you cannot use, distribute or copy the message or attachments. In such
case, please notify the sender by return email immediately and erase all
copies of the message and attachments. Regardless of content, this
e-mail shall not operate to bind Bravura Solutions to any order or other
contract unless pursuant to explicit written agreement expressly
permitting the use of e-mail for such purpose.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-19 06:43:59 CEST