Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting error trying to commit using Subversion on Mac OS X

Tags:

commit

svn

Using Subversion I try to commit with:

 svn ci dir/filename

And I get this:

svn: system('emacs svn-commit.tmp') returned 256

What does this mean? How can I to fix it?

like image 223
Satchel Avatar asked Jan 05 '10 19:01

Satchel


People also ask

Can we use svn on Mac?

To access data from the repository, use an SVN command-line client. This method may seem old-fashioned, but it is an easy process that remains consistent across different platforms (Windows, Mac, etc.).

How do I access svn repository on Mac?

Switch to the Terminal and type: svn import -m "your Import message" /my/local/project/path /my/remote/svn/repository This command adds all files from the local Project to the SVN Server. Add the path of your SVN repository (from the SVN server) to the list in the Working Copy window in SVNx.

How do I commit a svn file in Terminal?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.


1 Answers

Possibly related: I'm seeing similar errors on vim when setting SVN_EDITOR without the qualifying the path. From your error output, I see you have done the same with emacs. Try export SVN_EDITOR=/usr/bin/emacs. Doing the same with /usr/bin/vim eliminated the 256 status codes.

I can't explain why. Seems like a bug to me.

See this 2009 discussion about vim on OSX 10.5.

like image 108
Anm Avatar answered Sep 18 '22 16:09

Anm