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

Re: Properties with colons

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-03 18:07:47 CEST

Conor MacNeill wrote:
> Hi,
>
> I've read through a lot of archives and I know this issue has had some
> coverage over time but I'd like to check the current thinking.
>
> One of our FishEye customers has a repository where a developer has
> mistyped the svn:keywords property name as svn::keywords. This property
> triggers the invalid XML issue in their SvnKit client using DAV as the
> property comes fromt the server as
>
> <S::keywords>Revision</S::keywords>
>
> I'd like to clarify if
>
> 1. this is something the user should not have done
> 2. SvnKit should be handling the non well-formed XML that comes back
> from the server. If so, I'm happy to follow up this with the SvnKit folks

It's something that the user should not have done. The Subversion
client-side code tries to prevent this from happening, but obviously you can
directly manipulate the repository and make it happen.

> Is there any easy way to expunge this property from their repository?
> Cleaning a dump could be a bit tricky.

Unfortunately, no. But cleaning the dump shouldn't be too hard in this
case. Find and replace svn::keywords with svn:keywords, and decrement the
Property-Content-Length and Content-Length values by 1 for each node where
you changed the property name.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu May 3 18:07:58 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.