[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: Graham Anderson <grahama_at_siren.cc>
Date: 2006-07-01 20:23:59 CEST

thanks

I put in the 'Export' and added the shell script, editor.sh
After issuing the command, svn commit, Textwrangler opens
successfully...and I enter , --message "the is my first commit , on
the first line of the TextWrangler doc
I closed the TexWrangler document and then the terminal received
focus again....

So now that I have arrived at Step 2, I am getting 'authorization'
errors in the Terminal.

subversion/libsvn_client/commit.c:873: (apr_err=170001)
svn: Commit failed (details follow):
subversion/svnserve/serve.c:433: (apr_err=170001)
svn: Authorization failed
subversion/clients/cmdline/util.c:407: (apr_err=170001)
svn: Your commit message was left in a temporary file:
subversion/clients/cmdline/util.c:407: (apr_err=170001)
svn: '/Users/robert/Sites/web_projects/mysite/mysite-commit.tmp'

If I CAN checkout, but NOT commit, svnserve must be handling the
authorization of these events differently ?

what could be the difference ?

many thanks for your help :)

g

On Jul 1, 2006, at 10:01 AM, Ryan Schmidt wrote:

>
> 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 20:25:21 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.