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

How to start over?

From: Leslie Turriff <jlturriff_at_centurytel.net>
Date: Mon, 21 Dec 2009 18:16:44 -0600

Hi,

        I'm just starting to explore using svn. I have downloaded and
read /Version Control with Subversion For Subversion 1.5 (Compiled
from r3305)/. I have installed svn and svnserve on my home computer
(running openSuSE 11.0), and it appears to be done right, as far as I
can see.
        I'm using svnserve mostly for practice; I realize that I didn't
have to set that up for a local repository. Also, because my
personal partition is larger than my root partition, I have svnserve
pointing to a location there.
        So I run svnadmin create, and it seems to have worked, but when
I try to add entities to the repository I get these messages:

svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory

        I'm guessing that I set up something in the wrong order or
something. If I want to start over, how do I get rid of the current,
empty repository?

        Thanks,

Leslie

Some environment information:
============================
turriff_at_pinto$ uname -a
Linux pinto 2.6.25.20-0.5-pae #1 SMP 2009-08-14 01:48:11 +0200 i686 i686
i386 GNU/Linux
============================
turriff_at_pinto$ cat /etc/SuSE-release
openSUSE 11.0 (i586)
VERSION = 11.0
============================
turriff_at_pinto$ svn --version
svn, version 1.5.7 (r36142)
   compiled Aug 10 2009, 15:34:19

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
============================
turriff_at_pinto$ rpm -q cyrus-sasl
cyrus-sasl-2.1.22-140.2
============================
turriff_at_pinto$ cat /etc/sysconfig/svnserve
# Path: Network/Subversion/svnserve
# Description: Basic configuration for svnserve
#
# Default options for the svnserve process:
# It is recommended to provide only readonly access to your data.
# There is no authentication possible; everyone can read and write at
will.
# Read the subversion documentation about more information.
# Value type: string
# Default value: "-d -R -r /srv/svn/repos"
#
# svnserve should run as an unprivileged user:
# The userid/groupid svn is not created during package install;
# run 'useradd -d /srv/svn -s /bin/false svn ; groupadd svn' to create
the
# userid and groupid.
# Value type: string
# Default value: "svn"
#
# svnserve should run as unprivileged user:
# Userid svn and groupid svn are not created during package install;
# run 'useradd -d /srv/svn -s /bin/false svn ; groupadd svn' to create
the
# userid and groupid.
# Value type: string
# Default value: "svn"
#
SVNSERVE_OPTIONS="-d -R -r /home/turriff/svn/Project"
SVNSERVE_USERID="svn"
SVNSERVE_GROUPID="svn"
============================
turriff_at_pinto$ cat /etc/sasl2/svn.conf
pwcheck_method: saslauthd
mech_list: plain digest-md5
============================
turriff_at_pinto$ grep svn /etc/{passwd,group}
/etc/passwd:svn:x:1003:100::/home/turriff/svn:/bin/false
/etc/group:svn:!:1001:
============================
turriff_at_pinto$ ll ~/svn/Project/
total 16
drwxr-xr-x 2 svn svn 80 2009-12-20 14:50 conf
drwxr-sr-x 6 svn svn 4096 2009-12-20 09:49 db
-r--r--r-- 1 svn svn 2 2009-12-20 09:49 format
drwxr-xr-x 2 svn svn 4096 2009-12-20 09:49 hooks
drwxr-xr-x 2 svn svn 39 2009-12-20 09:49 locks
-rw-r--r-- 1 svn svn 229 2009-12-20 09:49 README.txt
============================
turriff_at_pinto$ #My working directory; what I want to add to svn:
#My working directory; what I want to add to svn:
turriff_at_pinto$ tree -d ~/Documents/SourceCode/OpenPipelines
/home/turriff/Documents/SourceCode/OpenPipelines
|-- client
| |-- branch
| |-- tag
| `-- trunk
`-- daemon
    |-- branch
    |-- tag
    `-- trunk

8 directories
============================
Received on 2009-12-22 01:28:34 CET

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.