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

Re: setting svn editor value

From: Bala Paranj <bparanj_at_yahoo.com>
Date: 2006-07-21 01:53:01 CEST

Thank you for the suggestion. I installed the TextWrangler. I created a scripts directory under my
root directory. I created a editor.sh with the two lines you had given. When I run the following
command, it is bombing out. Please help.

19:47:51:~/work/sesame > svn propedit svn:ignore timelib
sh: line 1: editor.sh: command not found
svn: system('editor.sh svn-prop.tmp') returned 32512
 
> You don't need xemacs. xemacs is just a text editor; you can use any
> you like. I use TextWrangler which is nice and free.
>
> In the file ~/.bash_profile I have this line:
>
> export EDITOR=editor.sh
>
> editor.sh is a small shell script located somewhere within my path.
> (On my system that's ~/scripts) The contents of the script is:
>
> #!/bin/sh
> edit +1 --wait --resume "$@"
>
> "edit" opens TextWrangler. +1 tells it to hilite the first line of
> the file. --wait tells edit to wait until I save and close the file
> in TextWrangler before returning control to the script. --resume
> means the Terminal should come to the front when I save and close the
> document in TextWrangler. (These options are specific to
> TextWrangler's edit command; if you want to use a different editor,
> you'll need to consult that editor's documentation.)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 21 01:54:13 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.