[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Multiple projects

From: Larry Marshall <larclap_at_yahoo.com>
Date: 2007-10-14 19:32:19 CEST

Once I figured out that the svnserve service logon did not have permission to the repository folder and changed that, I no longer had the Access is denied message. I don't know why I got the error on the svn switch --relocate command. But I used the TortoiseSVN repo browser to manipulate the structure of the repository. Now all is well. Thanks again for your help. ----- Original Message ---- From: Larry Marshall <larclap_at_yahoo.com> To: users_at_tortoisesvn.tigris.org Sent: Friday, October 12, 2007 8:41:10 PM Subject: Re: Multiple projects Thanks for your response, Simon. I am still having problems setting up, however. First, I dumped the original repository, then turned off the svnserve service. Then I created a new service as you suggested, using the root option. I loaded the dumpfile to its new repository (newproject), located in the k:\reposroot. It loaded all 112 revisions. I turned this new service on. I then tried to point the client's working directory to the new URL, issuing the following command: WorkingDirectory>svn switch --relocate svn://my_server/originalproject svn://my_server/newproject svn: Relocate can only change the repository part of an URL When I look at the repo browser and point it to URL svn://my_server/newproject, I see the following structure: |_repositories |_tags |_branches |_trunk |_oldproject |_tags |_branches |_trunk I don't know why repositories is showing - I used that folder a when I was first trying this scheme out. I would like to delete that entire folder and its sub-folders, but it says it Can't open file 'k:\repos_root\newproject\db\write-lock': Access is denied. If I try to move the tags folder under oldproject to the newproject, it gives me the same message. I think I've made a mess of this. Any ideas? Thanks, Lars ----- Original Message ---- From: Simon Large <simon.tortoisesvn_at_googlemail.com> To: users_at_tortoisesvn.tigris.org Sent: Friday, October 12, 2007 3:12:18 PM Subject: Re: Multiple projects On 12/10/2007, Larry Marshall <larclap_at_yahoo.com> wrote: > > I have been working with TortoiseSVN for about 6 months and really depend on > it. > > I setup a repository on a Windows 2003 server running svnserve as a service. > I also setup three folders beneath that repository(k:\svnrepos): tags, > branches, trunk. This repository handles a single VS2005 solution. > > Now I want to setup a repository to handle multiple solutions. I created a > new repository containing three projects. It looks like: > k:\repositories > |_project1 > |_project2 > |_project3 > > I also created an additional svnserve service pointing to k:\repositories. I Stop right there. If you have 2 svnserve processes running, both listening to the same TCP port, which one is going to receive the connection? Who knows - toss a coin? > then used TortoiseSVN to Import a file structure like: > |_tags > |_branches > |_trunk > with the URL of the repository pointing to > svn://server/repositories/project1. TortoiseSVN succeeded > in importing the folder structure. But I was surprised to see that the > revision number was 112, not 1. 112 would be the next revision number in my > original repository (k:\svnrepos). I wanted each project to have its own > sequential revision numbers rather than sharing revision numbers across all > three projects. > > How does TortoiseSVN know which repository to connect to? Is my attempt > approach all wrong? It doesn't, so yes. Look again at the docs (either the TSVN help file or the subversion book) and check the --root option svnserve.exe --daemon --root k:\reposroot will find all repositories located within k:\reposroot. Note that the folder specified is not itself a repository. It contains one or more repositories. You only need one instance of svnserve to serve multiple repositories. Create a new container folder and move your repositories into it. k:\reposroot svnrepos repositories (You might want to rename these) These would be accessed as svn://url/to/svnserve/svnrepos etc. You will need to 'relocate' your working copies if the URL is changed as a result of this. > Once this is setup and working in the way I wish, I'd like to move the > original repository to project3 repository. Is this possible? Look in the svn book for this. You need to use svnadmin dump to dump the contents of the original repository into an svn dumpfile, then svnadmin load to load those revisions into an existing repository. Simon -- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest Interface to (Sub)Version Control /_/ \_\ http://tortoisesvn.net --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Received on Sun Oct 14 19:32:27 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.