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

locked out of my svn 1.1.4 repository

From: Michael Driscoll <mdriscol_at_bu.edu>
Date: 2006-08-12 06:15:06 CEST

hello svn-users,

i recently created my first SVN repository and imported my files into it, but i
cannot checkout those files. i'm running svn, version 1.1.4 (r13838), with
berkeley DB version 4.2.52-7.1, on a fedora core 4 machine.

here is the transcript of what i've done:

   gtp:/share$ svnadmin create /svn/affydb
   gtp:/share$ cd affydb_v2
   gtp:/share/affydb_v2$ svn import . file:///svn/affydb --message 'version 0.1
of affydb'

   Adding sql
   Adding sql/create_primary_keys.sql
   Adding sql/create_expression.sql
   Adding sql/create_experiment.sql

   ... (lots more) ...

this seemed to succeed just fine. but when i attempt to check out this
repository, i get the following errors

   gtp:~/affydb$ svn co file:///svn/affydb

   Permission denied
   gtp:~/affydb$ svn co file:///svn/affydb
   svn: Unable to open an ra_local session to URL
   svn: Unable to open repository 'file:///svn/affydb'
   svn: Berkeley DB error while opening environment for filesystem
/svn/affydb/db:

the data is certainly *in* the repository directory. i can see it
when i look there,

   gtp:/svn/affydb/db$ ls -lth
   total 3.8M

   -rw-rw-r-- 1 mdriscol mdriscol 20K Aug 11 18:59 changes
   -rw-rw-r-- 1 mdriscol mdriscol 8.0K Aug 11 18:59 copies
   -rw-rw-r-- 1 mdriscol mdriscol 749K Aug 11 18:59 log.0000000003
   -rw-rw-r-- 1 mdriscol mdriscol 8.0K Aug 11 18:59 nodes
   -rw-rw-r-- 1 mdriscol mdriscol 16K Aug 11 18:59 representations
   -rw-rw-r-- 1 mdriscol mdriscol 8.0K Aug 11 18:59 revisions
   -rw-rw-r-- 1 mdriscol mdriscol 1.2M Aug 11 18:59 strings
   -rw-rw-r-- 1 mdriscol mdriscol 8.0K Aug 11 18:59 transactions
   -rw-rw-r-- 1 mdriscol mdriscol 8.0K Aug 11 18:59 uuids
   -rw-rw-r-- 1 mdriscol mdriscol 16K Aug 11 18:03 __db.001
   -rw-rw-r-- 1 mdriscol mdriscol 272K Aug 11 18:03 __db.002
   -rw-rw-r-- 1 mdriscol mdriscol 384K Aug 11 18:03 __db.003
   -rw-rw-r-- 1 mdriscol mdriscol 872K Aug 11 18:03 __db.004
   -rw-rw-r-- 1 mdriscol mdriscol 16K Aug 11 18:03 __db.005
   -rw-rw-r-- 1 mdriscol mdriscol 1022K Aug 11 12:18 log.0000000002
   -rw-rw-r-- 1 mdriscol mdriscol 2.0K Aug 11 12:18 DB_CONFIG
   -rw-rw-r-- 1 mdriscol mdriscol 4 Aug 11 12:18 fs-type

   gtp:/svn/affydb/db$

so i went and ran 'svnadmin recover' on this, and it did something, i
suppose.

   gtp:/svn/affydb/db$ svnadmin recover /svn/affydb/
   Repository lock acquired.
   Please wait; recovering the repository may take some time...

   Recovery completed.
   The latest repos revision is 0.

now, however, when i checkout files, i get no errors

   gtp:~$ svn co file:///svn/affydb
   Checked out revision 0.

but to my chagrin, the checked out directory that is created 'affydb', is
empty.
it does, however, contain the '.svn' directory with all its fixings.

so here i am, writing to a list where i hope someone can help me
recover this data. the sad aspect of this tale is that i (foolishly)
deleted my original versioned directories in my zeal to have SVN be a
fool-proof solution.

any help would be much appreciated.

sincerely,

michael driscoll
phd candidate
bioinformatics program
boston university
http://gardnerlab.bu.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 12 06:16:29 2006

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.