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

Re: error: svn_io_file_open

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-12-11 00:22:03 CET

On Tuesday, December 10, 2002, at 06:12 PM, rblanpro@juno.com wrote:

> Thank you for taking time, I cannot seem to find my answers in the
> postings or the read-me files and such. Using the Subversion 16, I
> cannot
> connect or write anything to the repository I've created. [DAV is
> functioning normally.]
>
> After installing the Subversion-server and Subversion RPMs, the svn
> gives an error in a couple of areas.
>
> 1. svn status (among others) returns "svn: svn_io_file_open: can't
> open
> .svn/entries"

either you passed 'svn status' a target that was not a working copy, or
you passed it a directory containing files you don't have read access
for. you need to give an exact transcript of the commands you used to
produce the error if you really want any kind of answer though.

> 2. "svn mkdir sample" another error is "svn: svn_io_file_open: can't
> open
> .svn/lock" It will complain, but creates the directory anyway.

same answer as before. were you in a checked out working copy when you
tried this?

> 3. Attempting to import a file set like: "svn import file:///home/roger
> /home/svnroot" returns this error "svn None of the environment
> variables
> SVN_EDITOR, VISUAL, or EDITOR is set."

svn is trying to open an editor to get a log message for the import
(since importing is a commit). you can either pass it on the command
line, or set one of those variables so it knows what editor to use.
'svn help import' should give you some hints.

also, try reading the subversion book, available at:

http://svnbook.red-bean.com/

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 11 00:22:55 2002

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

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