You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by sashan <sa...@ihug.co.nz> on 2002/10/28 00:30:42 UTC

Setting up a repository (newb)

Hi

I've recently built the Subversion server. I am trying to create a
repository. I type 
svnadmin create /misc/svn/test_repos

and then
svn import file:///misc/svn/test_repos /misc/test_files/

However this generates the following error
subversion/clients/cmdline/util.c:451: (apr_err=205007, src_err=0)
svn: No external editor available
svn: Could not use external editor to fetch log message; consider
setting the $SVN_EDITOR environment variable or using the --message (-m)
or --file (-F) options.
subversion/clients/cmdline/util.c:100: (apr_err=205007, src_err=0)
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is
set.


Thanks

Sashan




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Setting up a repository (newb)

Posted by Peter Davis <pe...@pdavis.cx>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 27 October 2002 16:30, sashan wrote:
> svn import file:///misc/svn/test_repos /misc/test_files/
>
> However this generates the following error
> subversion/clients/cmdline/util.c:451: (apr_err=205007, src_err=0)
> svn: No external editor available

The import command commits a new revision as it copies files to the URL, and 
svn requires you to specify a log message with each commit.  Since you did 
not specify a log message with the -m option on the command line, it tried to 
open a text editor to allow you to type a message.

For whatever reason, the default editor couldn't be launched.  You didn't say 
what OS you're running, but if it's some sort of *NIX, svn would have looked 
at the $EDITOR environment variable for the name of the editor.  Type "echo 
$EDITOR" to see what it was trying to run.

Anyway, the easy workaround is to specify the -m option, such as:

svn import file:///misc/svn/test_repos /misc/test_files/ -m "Initial import."

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9vIkKhDAgUT1yirARAvWYAJ4pb4MxeE1UFQXIlX72P1mYWmoUAACgmkcU
V8nOH2gojX/foZshj5MBqzg=
=B4vM
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org