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

Re: Quick question...

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 12 Aug 2009 18:03:35 -0400

First off, when you talk about a "Repository", are you talking about the
"Repository" you have when you start the svnserve command? Or, are you using
"repository" the way other people talk about a "software project"?

In Subversion lingo, a repository is the directory argument you use when you
run "svnserve". With "svnserve", you can only have a single repository on a
system. That repository can contain multiple software projects, but only a
single repository.

When you run the "svn" command against an "svnserve" instance, the directory
structure that svn sees is not related to the repository structure that the
svnserve is using.

So the first question: What do you mean by repository?

So, let's get things straight: When I talk about REPOSITORY, I am talking
about this:

C:> svnserve -r %REPO_DIR% -d

The value of %REPO_DIR% is my repository. It exists only on the server. I
created it with this command:

C:> svnadmin create %REPO_DIR%''

When I am talking about a PROJECT, I am talking about this:

svn://%SVN_SERVR%/folder_name/%PROJ_NAME%

Where %PROJ_NAME% is the name of my project (what I think you were refering
to as a repository.) I can create a working directory via a "svn co" on any
system that has access to the Subversion repository server. Using the
"svnserve" command, there is generally only a single repository on a
particular Subversion repository server. I can also have multiple projects
on an instance of a single Subversion repository server.

ONE MORE NOTE: There is no relationship between the structure of the
%REPO_DIR% and your %PROJ_NAME%. There is no way by looking at the structure
of your checked out working directory to deduce the structure of folders in
the Subversion repository. This is not like CVS where there was some
relationship.

Using these definitions above, what is the issue you're having?

Is it that the files inside the %REPO_DIR% are taking up too much room and
there is little room on the disk? If this is the case, move the whole
%REPO_DIR% to another drive, and restart "svnserve" to use the new location.

Is it that you did an ""svn co" of a project, and you want another project
to be checked out, but you want that project to be located elsewhere? In
that case, simply run "svn co" where you want the project's working
directory. Remember, you don't have to checkout the whole directory, you
checkout just a single directory.

By the way, have you seen the excellent Subversion manual? <
http://svnbook.com>

On Tue, Aug 11, 2009 at 5:03 PM, Ehsan Yassir <
eyassir_at_cellularspecialties.com> wrote:

> Hi All,
>
>
>
> I have just a little question for you guys. I have subversion server side
> installed on windows 2003 server and I create a repository in C Drive and
> it’s working very good.
>
> I can reach it from the clients by typing this path: *
> svn://server_name/folder_name/Repository_name*
>
> Because I don’t have space in C drive I want to create a repository on
> different drive other than the C drive or operating system drive.
>
> I create a repository on D drive and try to connect to it by this path but
> it’s doesn’t work :
>
> *svn://server_name/folder_name/Repository_name*
>
> I try this path:
>
> *svn://server_name/D:/folder_name/Repository_name*
>
> but it’s doesn’t work too.
>
> I changed and played with all the slashes but still don’t want to work.
>
> *So my question is:*
>
> *How can I connect (from the client side) to the server if the repository
> exist on different drive other than C drive. Should I mention the drive
> name? and how I do it?*
>
>
>
> Please if you can and if you have time reply me.
>
>
>
> Many thanks,
>
>
>
> *Ehsan Yassir*
>
> *System Administrator*
>
> *CSI*
>
> *P:603.657.9636*
>
> *www.cellularspecialties.com* <http://www.cellularspecialties.com>
>
> *[image: cid:image001.gif_at_01C9CA75.2B196A00]*
>
>
>

-- 
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2383048
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-13 00:04:38 CEST

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

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