You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tim Asplin <ti...@gmail.com> on 2010/08/20 09:28:52 UTC

Use existing directory as repository

Hello,

I have read through the manual, and looked at FAQ. But did not seam to find
the answer.

We have a web site, and directory structure to support it, what we want is
to use subversion to now manage it.  So want to use the existing structure
of directories and files as the repository to check out files from, while
also having the files running on the development web site so we can still
use the website.

In the manual it show you how to create a repository and how to import a
existing folder into it, and in the FAQ how to create a repository and use
files as working set.

What we want to do is to turn the existing structure into the repository, is
this possible, if so how.

Were are running on windows.

Thanks

Tim

Re: Use existing directory as repository

Posted by vishwajeet singh <de...@gmail.com>.
On Fri, Aug 20, 2010 at 2:58 PM, Tim Asplin <ti...@gmail.com> wrote:

> Hello,
>
> I have read through the manual, and looked at FAQ. But did not seam to find
> the answer.
>
> We have a web site, and directory structure to support it, what we want is
> to use subversion to now manage it.  So want to use the existing structure
> of directories and files as the repository to check out files from, while
> also having the files running on the development web site so we can still
> use the website.
>
> In the manual it show you how to create a repository and how to import a
> existing folder into it, and in the FAQ how to create a repository and use
> files as working set.
>
> What we want to do is to turn the existing structure into the repository,
> is this possible, if so how.
>

 No you can not , you will have to do as mentioned in documentation, create
repository and import your existing folder structure in to it.


>
> Were are running on windows.
>
> Thanks
>
> Tim
>



-- 
Vishwajeet Singh
+91-9657702154 | dextrous85@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet

RE: Use existing directory as repository

Posted by Giulio Troccoli <Gi...@uk.linedata.com>.





Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

________________________________



        From: Tim Asplin [mailto:tim.asplin@gmail.com]
        Sent: 20 August 2010 10:29
        To: users@subversion.apache.org
        Subject: Use existing directory as repository


        Hello,

        I have read through the manual, and looked at FAQ. But did not seam to find the answer.

        We have a web site, and directory structure to support it, what we want is to use subversion to now manage it.  So want to use the existing structure of directories and files as the repository to check out files from, while also having the files running on the development web site so we can still use the website.

        In the manual it show you how to create a repository and how to import a existing folder into it, and in the FAQ how to create a repository and use files as working set.

        What we want to do is to turn the existing structure into the repository, is this possible, if so how.

        Were are running on windows.

        Thanks

        Tim


The repository is where you store all your files and history. The working copy is a copy of the repository, or part of it, where you can do your work.

So in your case you do want to use the existing structure to populate the repository, with the import facility as explained in the book, but the repository will be somewhere else, somewhere accessible by all your developers.

If you decided to use the recommended trunk/branches/tags structure you would have your live website as a working copy (or maybe as an export) of a specific tag and use branches and trunk for development, i.e. your developers would create a working copy out of trunk or a branch and commit to it. Then, when your code passes the test, probably in a staging place, you can create a new tag and switch the live site to it.

Hope this helps. I don't do website development (although I might start soon), this is what I gathered by reading the ML through the years.

Giulio

P.S. Please post in text-format only

RE: Use existing directory as repository

Posted by Giulio Troccoli <Gi...@uk.linedata.com>.





Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

________________________________



        From: Tim Asplin [mailto:tim.asplin@gmail.com]
        Sent: 20 August 2010 10:29
        To: users@subversion.apache.org
        Subject: Use existing directory as repository


        Hello,

        I have read through the manual, and looked at FAQ. But did not seam to find the answer.

        We have a web site, and directory structure to support it, what we want is to use subversion to now manage it.  So want to use the existing structure of directories and files as the repository to check out files from, while also having the files running on the development web site so we can still use the website.

        In the manual it show you how to create a repository and how to import a existing folder into it, and in the FAQ how to create a repository and use files as working set.

        What we want to do is to turn the existing structure into the repository, is this possible, if so how.

        Were are running on windows.

        Thanks

        Tim


The repository is where you store all your files and history. The working copy is a copy of the repository, or part of it, where you can do your work.

So in your case you do want to use the existing structure to populate the repository, with the import facility as explained in the book, but the repository will be somewhere else, somewhere accessible by all your developers.

If you decided to use the recommended trunk/branches/tags structure you would have your live website as a working copy (or maybe as an export) of a specific tag and use branches and trunk for development, i.e. your developers would create a working copy out of trunk or a branch and commit to it. Then, when your code passes the test, probably in a staging place, you can create a new tag and switch the live site to it.

Hope this helps. I don't do website development (although I might start soon), this is what I gathered by reading the ML through the years.

Giulio

P.S. Please post in text-format only

Re: Use existing directory as repository

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Tim Asplin wrote on Fri, Aug 20, 2010 at 10:28:52 +0100:
> Hello,
> 
> I have read through the manual, and looked at FAQ. But did not seam to find
> the answer.
> 
> We have a web site, and directory structure to support it, what we want is
> to use subversion to now manage it.  So want to use the existing structure
> of directories and files as the repository to check out files from, while
> also having the files running on the development web site so we can still
> use the website.
> 
> In the manual it show you how to create a repository and how to import a
> existing folder into it, and in the FAQ how to create a repository and use
> files as working set.
> 
> What we want to do is to turn the existing structure into the repository, is
> this possible, if so how.
> 

http://subversion.apache.org/faq#in-place-import

> Were are running on windows.
> 
> Thanks
> 
> Tim