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

Re: Setting up a repository (newb)

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-28 01:47:04 CET

-----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
Received on Mon Oct 28 01:47:47 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.