Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to set up a local repository so that all commitments are copied to the local destination, not a remote server. I followed this tutorial.

What I did.

  1. Created a folder named "SVN_Repo" under C:\Documents and Settings[user-name]\My Documents\
  2. Right clicked on the folder and chose TortoiseSVN -> Create repository here
  3. Clicked OK in the pop up dialog asking whether to create a directory structure.
  4. Created a folder named Repos for the local destination, under E:\
  5. Right clicked on the SVN_Repo folder and chose SVN Checkout...
  6. Typed file:///E:\repos in the URL of repository field and clicked the OK button.

    enter image description here

  7. What I got:

    Checkout from file:///E:/repos, revision HEAD, Fully recursive, Externals included

    Unable to connect to a repository at URL 'file:///E:/repos'

    Unable to open an ra_local session to URL

    Unable to open repository 'file:///E:/repos'

    enter image description here

I must be doing something wrong. Could somebody point it out? Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

According to this page, http://stackoverflow.com/a/741664/1608619 ollifant (user) says,

The "Create repository here" action creates a repository which you can access locally via file://.. syntax or via the svnserve daemon.

The "Checkout" action can be done in any other place. You can either use a local repository, access a repository via http(s) or svnserve.

It seems I had to select Create repository here... for the destination folder. By doing this I've started getting no errors. And I could comit some files but the strange thing is that the destination folder does not have the exact same directory structure as the working directory.

To see if it is working, I created another directory and choose SVN Checkout from the context menu, and it surely synchronized the files with the other working directory previously created. So it seems it's working.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.