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

RE: Re: Updating a WC in the post-commit fails

From: Sethuraman, Nirmala (NSN - IN/Bangalore) <nirmala.sethuraman_at_nsn.com>
Date: Wed, 18 Feb 2009 15:55:10 +0530

Hi

I too am getting the same problem. I checked your reponse. Can you tell
me how to find which user is running the subversion archive?

Best Regards,
Nirmala

-----Original Message-----
From: ext David Weintraub [mailto:qazwart_at_gmail.com]
Sent: Thursday, October 30, 2008 11:57 PM
To: Giulio Troccoli
Cc: users_at_subversion.tigris.org
Subject: Re: Updating a WC in the post-commit fails

Remember that the post-commit hook runs as the user who is running the
Subversion archive. So, the best thing to do is log in as the Subversion
user, and then try to do an update and see if you get a prompt for a
password.

It could be that the Subversion server user's password changed. If this
happened, the Subversion user can't update this workspace.

--
David Weintraub
qazwart_at_gmail.com
On Thu, Oct 30, 2008 at 10:05 AM, Giulio Troccoli
<Giulio.Troccoli_at_uk.linedata.com> wrote:
> In my company we use Subversion for our source code. To help
developers and testers I have written some wrappers around SVN and the
hooks of course. I then decided to use Subversion for version them. It
make sense to me as I have a history of what I have done and I can
always go back to a previous "version" of any script.
>
> To make things easier for me I have decided to keep a WC on the SVN
Server and then use sym-links for the hooks. This works perfectly as I
always use absolute paths in the hooks.
>
> One day I decided that I wanted any changes I made to the wrappers and
the hooks to be immediately live, so I change the post-commit hook for
the repository I used for them to do an update of the WC.
>
> This has been working fine for months but now I get the following
error every time I commit something, and the update is not performed.
However I can cd into the WC and do an update manually just fine.
>
> Authentication realm: <http://ln1sub01:80> Subversion Production
Repository for System Utilities Password for 'svn_gt':
> Sending        pre-lock
> Sending        pre-unlock
> Transmitting file data ..svn: Commit failed (details follow):
> svn: MERGE request failed on '/svn-util/trunk/hooks/svn'
> svn: The MERGE request returned invalid XML in the response: XML parse
> error at line 10: not well-formed (invalid token) 
> (/svn-util/trunk/hooks/svn)
>
> I'm using SVN 1.4.6 both for client and server (I actually work on the
same machine, although not on the same WC), the Server is a RHEL4 and I
serve the repository with Apache 2.0.
>
> Can anybody help in explaining what is going on? The only thing I
really change recently is that I created a trunk directory (and branches
too), so I deleted the WC and recreated it checking out trunk rather
than the root of the repository.
>
> Thanks
>
> -------------------
> Giulio Troccoli
> Technical Consultant
>
> T +44 (0)20 7360 1914   F +44 (0)20 7360 1974   BB +44 (0)777 194 7414
E giulio.troccoli_at_uk.linedata.com   W www.linedata.com MSN Messenger
giulio_at_troccoli.it
>
>
>
>
> Linedata Services (UK) Ltd
> Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1
6DB
> Registered in England and Wales No 3027851    VAT Reg No 778499447
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1184895
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-18 11:26:15 CET

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.