PositiveGuy
PositiveGuy

Reputation: 47783

Importing to trunk does not work Tortoise Subversion

I created the following Repository structure using VisualSVN

MyCompanyRepository
    Project1
        branches
        tags
        trunk

I copied the URL off of the trunk folder. Then I went to my c:\www\Project1 folder and right-clicked it and did TortoiseSVN | Import and the url was https://ourserver/svn/MyCompanyRepository/Project1/trunk

It added the files but my folder does not appear to be in source control. I mean the files are there in the trunk on the server, however locally, I have no .svn anywhere. So am I doing something wrong? I get no flags showing that my folder is running under svn, nothing.

Upvotes: 1

Views: 289

Answers (3)

James Kolpack
James Kolpack

Reputation: 9382

The import doesn't create a checkout locally - you'll need to run Checkout from TortoiseSVN to get the files.

Upvotes: 0

Paul Abbott
Paul Abbott

Reputation: 7211

Importing does not automatically turn the directory you imported into what Subversion calls a working copy. You need to either delete everything in c:\www\project1 and do a checkout, or do a checkout in an empty directory and copy everything over.

Upvotes: 1

Anton Gogolev
Anton Gogolev

Reputation: 115857

You'll have to check out files from SVN repo to disk: Importing does not imply creation of a local working copy.

Upvotes: 1

Related Questions