Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise SVN creating repository problem

Tags:

I've a problem with Tortoise SVN on my local machine. I've tried to create repository folder, and got a message:

Subversion reported an error while creating a repository! Make sure the folder is empty and not write protected.

In fact there is enough disk space, and directory isn't write protected. My OS is WindowsXP, and I'm logged under administrator user.

Could you advice me how to solve my problem?

Thanks

like image 810
stemm Avatar asked Jul 03 '11 21:07

stemm


People also ask

How do I create a directory in SVN repository?

One way is to browse the repository to the place where you want to insert your new directory and right-click and select "Create Folder". Then right click the folder and check it out to the location where you want it. Then copy the directory of files you want to put into SVN into the folder created by the checkout.

What does red exclamation mark mean in TortoiseSVN?

That means the Subversion status is normal. As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.


1 Answers

The menu is a bit misleading. There are 2 ways to create a new repository with TortoiseSVN:

  1. No directory is selected
    • Start in a directory
    • Create there a new directory with a reasonable name for you (like my_repo)
    • Go into that directory
    • Select from the context menu TortoiseSVN > Create repository here
    • The repository will be created inside that directory.
  2. A directory is selected
    • Start in a directory
    • Create there a new directory with a reasonable name for you (like my_repo)
    • Select that new directory, but don't go into
    • Select from the context menu TortoiseSVN > Create repository here
    • The repository will be created inside that selected directory.

What most people do (and what does not work) is:

  • Start in a not-empty directory.
  • Select from the context menu TortoiseSVN > Create repository here
  • You will get the error message you have seen.

If you look at the context menu, you will notice that there are no ... at the end. So TortoiseSVN needs everything for the command from the calling context, there will no clarification dialog.

You will find that information in the TortoiseSVN Help file when searching for create repository here.

like image 53
mliebelt Avatar answered Oct 04 '22 21:10

mliebelt