Commit failed error when committing new version to svn repository

Viewed 31552

I'm trying to commit a new version to my SVN repository but am met with this error:

svn: Commit failed (details follow):
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
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found new-computers-computer:trunk newcomputer$

What's wrong?

5 Answers

I had a similar problem while trying to import a not versioned code into a new repository, based on the answers posted on this question i was able to solve my problem (thank you guys).

I am sharing the command i used to import a local project to SVN on using apache/http:

Where TestCodeDir is the project and hasn't been versioned yet.

svn import /var/svn/TestCodeDir http://localhost/svn/TestCodeDir -m "Initial Commit"

Note: You must to have your apache server well configured and it must to be running.

I hope this could help someone.

I had the same problem while doing:

svn copy $svn_source_path $svn_destination_path

I was missing adding the -m "log msg" i.e.

svn copy $svn_source_path $svn_destination_path -m -m "Test tag creation"
Related