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

Re: Commit trouble with a remote server

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-07-01 19:01:30 CEST

On Jul 1, 2006, at 06:27, Jeroen N. Witmond wrote:

>> I can checkout my repository on the remote server, but can not seem
>> to commit ...how like life
>>
>> When I try to commit, my terminal hangs ....with the below:
>> --This line, and those below, will be ignored--
>>
>> A index.php
>> ~
>> ~
>> .
>> .
>> ."svn-commit.3.tmp" 4L, 65C
>
> From http://svnbook.red-bean.com/nightly/en/
> svn.ref.svn.c.commit.html :
> "If you do not supply a log message with your commit by using
> either the
> --file or --message switch, svn will launch your editor for you to
> compose
> a commit message." It seems your editor is vi or one of its clones.

If you want to use something other than vi as your editor for commit
messages, set the EDITOR environment variable. I use TextWrangler,
the free cousin of BBEdit. To do this, I put this in my ~/.bash_profile:

export EDITOR=/Users/rschmidt/scripts/editor.sh

editor.sh is a small script which calls the "edit" command which is
part of the TextWrangler distribution:

#!/bin/sh
edit --wait --resume "$@"

--wait tells edit to wait until you save and close the file in
TextWrangler before handing control back to the shell, and --resume
tells edit to bring the terminal window back to the front when you
do. If you have BBEdit and would prefer to use that, use "bbedit"
instead of "edit".

Other text editors for Mac OS X may also have a command-line
component you can use in this way. For example, SubEthaEdit has the
"see" command.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 1 19:02:48 2006

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