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

Re: problem with Quick Start: starting over

From: Roland Silver <rollos_at_kitcarson.net>
Date: 2006-08-02 23:32:27 CEST

Ryan,
I followed your directions, and now I have two files:
~/.bash_profile:
export EDITOR=editor.sh

~/scripts/editor.sh:
#!/bin/sh
edit +1 --wait --resume "$@"

The directory ~/myproject contains:
Makefile bar.c foo.c

and (according to TextWrangler or "less foo.c") foo.c contains:
/* foo.c */
//This is file foo.c as of Wed 2006Aug02(14:10)

With the current directory:
roland-silvers-powerbook-g4-17:~/myproject rollos$ pwd
/Users/rollos/myproject

when I perform "svn commit" as follows, what I get follows:

roland-silvers-powerbook-g4-17:~/myproject rollos$ svn commit
sh: line 1: editor.sh: command not found
svn: Commit failed (details follow):
svn: system('editor.sh svn-commit.tmp') returned 32512

Ryan, this is like pulling teeth, but I hope you'll stay with me for
this command, and maybe the last one:
svn commit
svn update

---------------------------------------------------

On Aug 2, 2006, at 2:56 PM, Ryan Schmidt wrote:

> Don't forget to Reply To All so your reply goes to the mailing list
> too.
>
>
> On Aug 2, 2006, at 22:23, Roland Silver wrote:
>
>> Thanks, Ryan! I've now gotten a little further along, and "svn
>> diff" worked OK.
>
> Glad you're getting along!
>
>
>> I then edited one of the files, foo.c, with the editor ~/Library/
>> Application Support/TextWrangler,
>> but when I tried "svn commit" I got:
>>
>> roland-silvers-powerbook-g4-17:~/myproject rollos$ svn commit
>> 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 is set, and no 'editor-cmd' run-time configuration option
>> was found
>>
>> I'm confused! I need to edit source files with several editors:
>> e.g. with TextWrangler and with the built-in editor of Apple's
>> Xcode. Has this somehow screwed things up?
>> It's been quite a while, and I forget how to set environment
>> variables (I'm using the bash shell).
>
> Here's how I set up Subversion to use TextWrangler as commit
> message editor:
>
> http://svn.haxx.se/users/archive-2006-07/0848.shtml
>
> I don't use Xcode very often so I don't know about using it for
> writing commit messages, or about its Subversion integration.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 2 23:36:46 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.