Link to home
Start Free TrialLog in
Avatar of Inward_Spiral
Inward_Spiral

asked on

How can I use TortoiseCVS client to create a local repository?

I've been told I can use Tortoise to make my own repository on my system, without even using a CVS server,
by using the "locally mounted folder" option.

Once we do that, we're supposed to be able to type in the directory we want to create the repository in...
but how do I do that, when everything is in *nix format?

It accepts paths like "/usr/root/folder", and I need something like "d:\source\project".

If anyone has got this to work before, let me know, I'd like a local repository for my software,
and if a freeware app like Tortoise can do the job, all the better.
Avatar of _corey_
_corey_

When you create an *empty* folder, open it, right click and go to the TortoiseSVN menu, then select the sub-item "Create Repository Here".  After a second, it should give a message box sayign successful and you'll see a respository built into the folder.

If the folder is not empty, you'll see an error.
Why not install CVSNT on your machine ?  It does not take a lot of resources, installs nicely as a windows service and has a simple GUI to configure repositories (takes only a few minutes to setup, and it is a free tool).  You then have the 'normal' cvs client/server situation in which tortoise will act as the client to your local repository through the server.  Then, if at any point in time you or your colleages want to connect to this server over a lan, this is possible.  Using the local folder method this is never possible.  As far as I remember, local folder access is not considered the way to go for multiple reasons that made sense when I was looking into this (I don't recall exactly, but there is a risk to mess up your repository) which lead me to use CVSNT to do the same thing you want to do.
Tortoise and CVS are not the same thing.
Avatar of Inward_Spiral

ASKER

I know that Tortoise and CVS aren't the same thing corey, Tortoise is only a front-end client.

But I saw this posted on the TortoiseCVS site, and thought I'd give it a try:

How do I set up a personal repository to use without a server?
You don't need any other software installed to make a local repository. Simply follow these steps:
- Prepare a folder with the files you want under version control.
- Right click on the folder and choose Make New Module from the CVS submenu.
- Select the "Locally mounted directory" protocol.
- In the directory section, enter where you would like your repository to be.
- After selecting OK, you will be asked to confirm creation of a new repository. Select the checkbox to confirm this, and click OK.
- You can now add the files within your folder to CVS, and work with it as described in the User's Guide.
TortoiseCVS can also offer to initialise a new repository on a remote server, provided you have permissions.

I was thinking TortoiseCVN, I cannot reply much now, server being rebooted.
Well, have you tried using:

c:/source/project ?
ASKER CERTIFIED SOLUTION
Avatar of bertvermeerbergen
bertvermeerbergen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
bertvermeerbergen nailed it, I was trying to create multiple nodes in the directory tree.

I followed the post, and got it up and running in no time.

Thanks all!