Svn E000002 Can T Open File

I had the same problem 'Can't open file.: Permission denied' After reviewing my log-File, I could see, that the permission on the format-File is wrong. For testing everything, i set the permissions on the whole svn folder on 777. Changing the type of something is not possible in one commit in svn, for example file - directory, directory - file, file - symlink etc. Obviously, git submodules is a feature of git and cannot be handlet by git svn; I didn't invest more time in finding out which of these two problems really stopped git svn.

  1. Svn E000002 Can T Open File Cabinet
  2. Svn E000002 Can T Open File Folders
  3. Svn E000002 Can T Open File Opener
From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sat, 13 Apr 2013 16:03:06 +0300

Svn E000002 Can T Open File Cabinet


File

1.8.x_at_HEAD plus the r1467440,r1467450,r1467481 group in STATUS behaves
as follows in maintainer mode:

% $svnadmin upgrade /
subversion/svnadmin/svnadmin.c:1925,
subversion/libsvn_repos/repos.c:1555,
subversion/libsvn_repos/repos.c:1461,
subversion/libsvn_repos/repos.c:1423,
subversion/libsvn_subr/io.c:4120,
subversion/libsvn_subr/io.c:3271: (apr_err=2)
svnadmin: E000002: Can't open file '/format': No such file or directory
% $svnadmin create /
subversion/svnadmin/svnadmin.c:689,
subversion/libsvn_repos/repos.c:1345: (apr_err=SVN_ERR_DIR_NOT_EMPTY)
svnadmin: E200011: Repository creation failed
subversion/libsvn_repos/repos.c:1217: (apr_err=SVN_ERR_DIR_NOT_EMPTY)
svnadmin: E200011: Could not create top-level directory
subversion/libsvn_repos/repos.c:192,
subversion/libsvn_repos/repos.c:187: (apr_err=SVN_ERR_DIR_NOT_EMPTY)
svnadmin: E200011: '/' exists and is non-empty
% $svn upgrade /
subversion/svn/upgrade-cmd.c:73,
subversion/libsvn_client/upgrade.c:112,
subversion/libsvn_wc/upgrade.c:2194,
subversion/libsvn_wc/wc_db.c:15006: (apr_err=SVN_ERR_WC_INVALID_OP_ON_CWD)
svn: E155019: Can't upgrade '/' as it is not a working copy root
subversion/libsvn_wc/wc_db_util.c:134: (apr_err=2)
svn: E000002: Working copy database '/.svn/wc.db' not found
subversion/libsvn_wc/wc_db.c:15006: (apr_err=2)
svn: E000002: Additional errors:
subversion/libsvn_wc/old-and-busted.c:1201,
subversion/libsvn_wc/adm_files.c:294,
subversion/libsvn_subr/stream.c:850,
subversion/libsvn_subr/io.c:3271: (apr_err=2)
svn: E000002: Can't open file '/.svn/entries': No such file or directory
%

That implies the following release mode output (I didn't rebuild; I just
ran g/^subversion/d):

Svn E000002 Can T Open File

Svn E000002 Can T Open File Folders

% $svnadmin upgrade /
svnadmin: E000002: Can't open file '/format': No such file or directory
% $svnadmin create /
svnadmin: E200011: Repository creation failed
svnadmin: E200011: Could not create top-level directory
svnadmin: E200011: '/' exists and is non-empty
% $svn upgrade /
svn: E155019: Can't upgrade '/' as it is not a working copy root
svn: E000002: Working copy database '/.svn/wc.db' not found
svn: E000002: Additional errors:
svn: E000002: Can't open file '/.svn/entries': No such file or directory
%

If someone does _not_ think that is a good state to release 1.8.0 in,
please reply.

Svn E000002 Can T Open File Opener

Daniel
Received on 2013-04-13 15:03:43 CEST

Comments are closed.