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

svn import with svnserve on Windows

From: Suresh Govindachar <sgovindachar_at_yahoo.com>
Date: 2004-08-16 03:54:58 CEST

stephen meechan wrote on 16 Aug 2004 02:14:24 +0100

> try
>
> svnadmin create c:\tmp\testsvn
>
> then set repository access write permissions in
> the conf directory, then

So: the uncommented lines in:
    c:\tmp\testsvn\conf\svnserve.conf
now are:

 [general]
  anon-access = read
  auth-access = write
 
> svnserve -d -r c:\tmp\testsvn
>
> in another command prompt
>
> svn import c:\opt\vim\uwdist\tms svn://localhost -m "initial import of stuff released as 1.12"

By the way, on this Win98 machine with no user-name
and password mechanism for logging in, how do I find
out who svn.exe thinks is the user? And whoever it
thinks is the user, what does it think is that user's
password?

And specifically for the above import command:
How does svn know to use anon-access?

> works for me.

Didn't work for me; got error message:

________________________________________________________
D:\suresh> c:\opt\svn\svn-win32-1.0.6\bin\svn import c:\opt\vim\uwdist\tms svn://localhost -m "initial import of stuff rel as 1.12"
svn: Berkeley DB error while opening environment for filesystem C:/tmp/testsvn/db:
DB_RUNRECOVERY: Fatal error, run database recovery

________________________________________________________
D:\suresh> c:\opt\svn\svn-win32-1.0.6\bin\svnadmin verify c:\tmp\testsvn
svn: Berkeley DB error while opening environment for filesystem c:/tmp/testsvn/db:
DB_RUNRECOVERY: Fatal error, run database recovery

________________________________________________________
D:\suresh> c:\opt\svn\svn-win32-1.0.6\bin\svnadmin recover c:\tmp\testsvn
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 0.
________________________________________________________
D:\suresh> c:\opt\svn\svn-win32-1.0.6\bin\svn import c:\opt\vim\uwdist\tms svn://localhost -m "initial import of stuff rel as 1.12"
svn: Berkeley DB error while opening environment for filesystem C:/tmp/testsvn/db:
DB_RUNRECOVERY: Fatal error, run database recovery

________________________________________________________
D:\suresh> c:\opt\svn\svn-win32-1.0.6\bin\svnadmin verify c:\tmp\testsvn
svn: Berkeley DB error while opening environment for filesystem c:/tmp/testsvn/db:
DB_RUNRECOVERY: Fatal error, run database recovery

--Suresh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 16 03:55:08 2004

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.