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

Updating a WC in the post-commit fails

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Thu, 30 Oct 2008 14:05:01 +0000

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
Received on 2008-10-30 15:05:35 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.