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

Re: SVN: can not delete erroneous property

From: Henrik Sundberg <storangen_at_gmail.com>
Date: 2007-12-24 11:30:24 CET

Does anyone have a clue on this? Can a property with a space in the
name be deleted? There are several files like this, so my guess is
that an administrator ran a script of some kind.
Is there anything I should look up to provide better information?

I don't have access to the repository from here. My only idea now is
to locate the changeset in which the erroneous property occured and
try to revert it. Do you think that would work or will the revert fail
due to the same reasons that makes it fail now?

Or do I have to dump the repository? If I change the dump, will a
repository built from the dump keep the same revision numbering? (The
numbering is important, when using Trac, isn't it? Isn't that the glue
between tickets and the repository?)

Sorry if I'm too vague.

/Henrik

2007/12/22, Henrik Sundberg <storangen@gmail.com>:
> Hello,
>
> I have a property name with a leading space. I can not get rid of it.
>
> (I have a swedish installation. I've tried to translate the output)
>
> Proplist gives:
> C:\wc>svn proplist mydoc.doc
> Properties for "mydoc.doc":
> svn:needs-lock
> svn:needs-lock
> svn:mime-type
>
> The second needs-lock is the result from trying to set the property
> correctly. I have no idea how the first was entered into the
> repository. We use the 1.4.5 client and 1.4.4 server.
>
> I think this gives the following error when trying to open the
> document via TortoiseSvn Show Log (the problem was not fixed by
> changing according to
> http://svn.haxx.se/users/archive-2004-01/0980.shtml, and other
> documents can be opened this way):
> PROPFIND request failed on
> '/repos/myrepo/!svn/bc/9594/myproj/trunk/docs/mydoc.doc'PROPFIND of
> '/repos/myrepo/!svn/bc/9594/myproj/trunk/docs/mydoc.doc': 207
> Multi-Status (http://myrepo_svn)
>
> This is what I've been trying to do:
> C:\wc>svn propdel svn:needs-lock mydoc.doc
> The property "svn:needs-lock" deleted from "mydoc.doc".
>
> C:\wc>svn proplist mydoc.doc
> Properties for "mydoc.doc":
> svn:mime-type
>
> C:\wc>svn ci -m "Deleting erroneous property" ..\wc
> Sends mydoc.doc
> svn: Commit failed (more info follows) (was: svn: Arkiveringen
> misslyckades (mer information följer):)
> svn: At least one property change failed; repository unchanged (was:
> svn: Åtminstone en egenskapsändring misslyckades; arkivet är
> oförändrat)
>
> C:\wc>svn propedit " svn:needs-lock" mydoc.doc
> svn: Erroneous property name: " svn:needs-lock" (was: svn: Felaktigt
> egenskapsnamn: " svn:needs-lock")
>
> C:\wc>svn propdel "svn:needs-lock" mydoc.doc
> The property "svn:needs-lock" deleted from "mydoc.doc".
>
> C:\wc>svn propdel " svn:needs-lock" mydoc.doc
> The property " svn:needs-lock" deleted from "mydoc.doc".
>
> C:\wc>svn proplist mydoc.doc
> Properties for "mydoc.doc":
> svn:mime-type
>
> C:\wc>svn ci -m "Deleting erroneous property" ..\wc
> Sends mydoc.doc
> svn: Commit failed (more info follows) (was: svn: Arkiveringen
> misslyckades (mer information följer):)
> svn: At least one property change failed; repository unchanged (was:
> svn: Åtminstone en egenskapsändring misslyckades; arkivet är
> oförändrat)
>
>
> /$
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 24 11:30:49 2007

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.