?
Solved

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

Posted on 2004-04-21
8
Medium Priority
?
2,817 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:Inward_Spiral
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 8

Expert Comment

by:_corey_
ID: 10882706
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.
0
 
LVL 2

Expert Comment

by:bertvermeerbergen
ID: 10882927
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.
0
 
LVL 8

Expert Comment

by:_corey_
ID: 10882979
Tortoise and CVS are not the same thing.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Inward_Spiral
ID: 10883265
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.

0
 
LVL 8

Expert Comment

by:_corey_
ID: 10883341
I was thinking TortoiseCVN, I cannot reply much now, server being rebooted.
0
 
LVL 8

Expert Comment

by:_corey_
ID: 10883918
Well, have you tried using:

c:/source/project ?
0
 
LVL 2

Accepted Solution

by:
bertvermeerbergen earned 200 total points
ID: 10888314
It could be that you are trying to let Tortoise create multiple nodes in the directory tree and that is failing.
It works in on my system if I create the toplevel directories first, and only have Tortoise add a single directory level.
So, if you need the location
   d:\source\project
first create the node
   d:\source
manually in explorer and then let Tortoise add the 'project' node.
If this is not the issue, maybe you could give some more information on what exactly is not working (yoy cannot enter the path in the gui, there is some error description in a dialig box, some other effect...)
0
 

Author Comment

by:Inward_Spiral
ID: 10937696
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!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question