Reputation: 3508
Currently im setting up TortoiseSVN and reading through docs etc. The manual often mentions svnadmin. I figured out, that I have to download it seperatly. But the link seems to be old. After some browsing I got here. But I can't find a version 1.6.7, like my TortoiseSVN installation. Also I'm a little bit lost, because of the many files.
So where can I get svnadmin from?
Update: To clarify things. I am setting this up as a single user, without a server. I was searching for svnadmin, because the TortoiseSVN documentation stated it could be dangerous to just copy the repository directory when creating a backup.
Upvotes: 12
Views: 34365
Reputation: 1002
First, make sure to install svnadmin
command line. It comes with Tortoise SVN.
Go to the server or the location where SVN Repository was created, not the location of the working copy where it was checked out.
CD into the location of the repository and run this command:
>svnadmin verify C:\path\to\repository\source
It should work. If get any of the following errors after you run svnadmin verify
:
svnadmin: E720002: Can't open file 'format': The system cannot find the file specified.
svnadmin: E165005: Expected repository format '3' or '5'; found format '12'
This means you are not at the right location. To test, open Tortoise SVN using right-click -> create repository and complete the steps to create an SVN Repository on your local (not the working copy checkout version). Then, open CMD windows for the newly created repo and run svnadmin verify path/to/repo
and it should work.
Upvotes: 0
Reputation: 2409
TortoiseSVN now includes those in their install file (or atleast it did when I installed it 5/23/2012) During the options of what to choose to install i had to click on the command line tools. Now it is in (tortoisesvnInstallfolder)\bin\svnadmin.exe
just thought i'd share
Upvotes: 21
Reputation: 1757
Forget about commercial SVN server. You are a Windos guy, not an Unix guru? You just want to upload your project\documents to an online repository, right? Here is the answer:
Upvotes: 2
Reputation: 2838
@ collab.net there are 2 packages one for the client installation and another one for the server installation
see http://www.open.collab.net/downloads/subversion/
svnadmin is only in the subversion server package
Upvotes: 0
Reputation: 86492
If you are attempting Windows installation, try VisualSvn server.
VisualSVN Server is distributed as a single installation package with the latest versions of all the required components. The installation process is extremely simple and allows you to setup a full-featured and ready to use Subversion server in just a few clicks.
You can manage repositories without the need to invoke svnadmin
:
VisualSVN Server provides a handy management console co-called VisualSVN Server Manager. It is implemented as a standard MMC snap-in and allows you to manage your Subversion server without dealing with configuration files and command line tools.
Upvotes: 5
Reputation:
I get my SVN command line tools for Windows from Slik Subversion - they seem to be at version 1.6.9, which should work OK with your Tortoise version. The toolset includes svnadmin.
Upvotes: 2
Reputation: 15545
svnadmin is part of the SVN server, whereas TortoiseSVN is an SVN client. svnadmin therefore runs on your SVN server and is used, amongst many other things, to create a repository.
If you don't have an SVN server, TortoiseSVN allows you to create a repository on your local machine to use - just right-click, do "TortoiseSVN" > "Create repository here."
If you do want the full server, you can install SVN separately on Linux/Unix, or VisualSVN on Windows.
Upvotes: 4
Reputation: 7930
Perhaps you could try this one.
When I installed TortoiseSVN on my old Windows setup, I was using Netbeans as an IDE. The Subversion package for Netbeans also installed all the required components to make TortoiseSVN work, so if you can't get this to work, you could try that xD
Upvotes: 4