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

Re: Naked Repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-05 22:17:22 CET

On Nov 5, 2004, at 2:10 PM, tipton cole wrote:

> OK. I think that I can do what you ask. Here is a directory listing:
>
> Volume in drive C has no label.
> Volume Serial Number is 7893-E496
>
> Directory of C:\TCC\svn_backup_102704
>
> 11/05/2004 01:57 PM <DIR> .
> 11/05/2004 01:57 PM <DIR> ..
> 11/01/2004 03:54 PM <DIR> conf
> 11/01/2004 07:31 PM <DIR> db
> 11/05/2004 01:57 PM 0 dir.txt
> 10/27/2004 11:53 AM 2 format
> 11/01/2004 03:54 PM <DIR> hooks
> 11/01/2004 03:54 PM <DIR> locks
> 10/27/2004 11:53 AM 60 passwd
> 10/27/2004 11:53 AM 376 README.txt
> 11/02/2004 08:06 AM 556,391 tree.jtc
> 5 File(s) 556,829 bytes
> 6 Dir(s) 12,018,352,128 bytes free
>
>
> The files dir.txt and tree.jtc are mine. The remainder represents the
> full
> contents of the svn_backup_102704 directory. There are a potload of
> files
> in the db directory - files in the hooks and locks directories just as
> described in the manual - and a couple of files in the conf directory.
>
> That's it. No other subdirectories or files. My question is: What is
> the
> correct syntax for the co subcommand to create work files from this
> directory? Or do I need to perform some administrative work before I
> can
> execute the co subcommand successfully?
>
>

A repository is just a database, and in that database is a virtual,
imaginary filesystem. You need to access the repository via URL.

"svn list file:///TCC/svn_backup_102704" should show the contents of
the repository... that is, it will show you the "imaginary" filesystem.

Change directory up to root (C:\), then run:

"svn checkout file:///TCC/svn_backup_102704 working-copy"

This creates a working copy of the repository in a new directory called
'working-copy'. You might not want to checkout the root of the
repository, though. You're likely to get every single branch and tag.
More likely, you'll want to check out the 'trunk' directory, if it
exists. ('svn list' would have told you.)

"svn checkout file:///TCC/svn_backup_102704/trunk working-copy"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 5 22:19:08 2004

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