You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mikael Stålhammar <mi...@hotmail.com> on 2020/07/07 09:01:50 UTC

invalid status for updating properties

Hi
I'm having an issue with merging/releasing a feature branch to trunk, getting:


--- Recording mergeinfo for merge between repository URLs into '.':

svn: E155023: Can't set properties on 'E:\SVN\WorkingCopies\repo\trunk\folder\file.txt': invalid status for updating properties.

The background is this:
-The "file.txt" was created on trunk a while back and has been merged into the feature branches.
-We are working on trunk and feature branches using sparse checkouts, having only the files we need in the working copies, committing files individually. Files changed on trunk are then merged in, file-by-file i.e. using subtree merging on file level, to a branch when needed. I.e. the merge info property is set on the merged files.

The "file.txt" was recently deleted on a branch and the deletion has been committed. Now the work on that branch is ready and it's about to be merged back into trunk.

The branch release process:
1. The branch is fully checked out in a working copy. Trunk is successfully merged into that working copy and committed.
2. Trunk is fully checked out in a working copy. The branch is merged into that working copy but then the error above occurs, saying it can't set properties on the deleted file. Why does SVN even try to set properties on a deleted file?

In the log from the merge, before the error message mentioned above, everything looks fine, i.e. a bunch of lines for "Updated" files and one "Deleted" file (the "file.txt").

I searched among the bugs but the only one I could find somewhat releated was this quite recent one:
https://issues.apache.org/jira/browse/SVN-4859
But while the error message was related I don't think it's the issue I have.

So I'm wondering what could be the issue, something we've done wrong or a bug? Is the problem in the SVN client or server?

(I used Tortoise/SVN 1.14.0 as client when merging. I think it's SVN 1.8.5 on the server)

Regards,
Mikael

Sv: invalid status for updating properties

Posted by Mikael Stålhammar <mi...@hotmail.com>.
Hi
Yeah, I linked to that issue in my first mail since I thought it could be related also, but reading that ticket I thought it didn't exactly match my issue. I guess I'll have to retry once that fix gets released.
Regards,
Mikael


________________________________
Från: Stefan Sperling <st...@elego.de>
Skickat: den 7 juli 2020 11:12
Till: Mikael Stålhammar <mi...@hotmail.com>
Kopia: users@subversion.apache.org <us...@subversion.apache.org>
Ämne: Re: invalid status for updating properties

On Tue, Jul 07, 2020 at 09:01:50AM +0000, Mikael Stålhammar wrote:
> Hi
> I'm having an issue with merging/releasing a feature branch to trunk, getting:
>
>
> --- Recording mergeinfo for merge between repository URLs into '.':
>
> svn: E155023: Can't set properties on 'E:\SVN\WorkingCopies\repo\trunk\folder\file.txt': invalid status for updating properties.

This looks like the problem tracked in this issue:
https://issues.apache.org/jira/browse/SVN-4859

A fix is being worked on and has already been committed to trunk.
See https://svn.apache.org/r1879192

Re: invalid status for updating properties

Posted by Stefan Sperling <st...@elego.de>.
On Tue, Jul 07, 2020 at 09:01:50AM +0000, Mikael Stålhammar wrote:
> Hi
> I'm having an issue with merging/releasing a feature branch to trunk, getting:
> 
> 
> --- Recording mergeinfo for merge between repository URLs into '.':
> 
> svn: E155023: Can't set properties on 'E:\SVN\WorkingCopies\repo\trunk\folder\file.txt': invalid status for updating properties.

This looks like the problem tracked in this issue:
https://issues.apache.org/jira/browse/SVN-4859

A fix is being worked on and has already been committed to trunk.
See https://svn.apache.org/r1879192