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

Re: 1.7 corrupts WC when reverting add of changelist member

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 9 Aug 2011 23:29:22 +0200

On Tue, Aug 09, 2011 at 09:53:37PM +0200, Stein Somers wrote:
> When you revert an addition in your working copy, and the item
> appeared in a changelist, the working copy becomes corrupt and you
> can't ever use the filename again. I built a maintainer mode version
> from /branches/1.7.x_at_1155504 which balks (after a boring stack
> trace):
>
> svn: E155016: Corrupt data for '...../sandbox/wc/x'
>
> at the end of this test script:

I can reproduce this on trunk.
Can you please file an issue? Thanks!

>
> #!/bin/bash
> alias svn=$PWD/../subversion/subversion/svn/svn
> alias svnadmin=$PWD/../subversion/subversion/svnadmin/svnadmin
>
> rm -rf sandbox
> mkdir sandbox
> set -eux
> cd sandbox
> svnadmin create repo1
> url=file:///$PWD/repo1/trunk
> svn mkdir -m boot "$url"
> svn co "$url" wc
> cd wc
> # Need at least one versioned file, otherwise there's no problem
> echo first >first
> svn add first
> svn commit -m blah
> svn up
> # Try to add a file x, in an uncertain state of mind
> echo x >x
> svn add x
> svn cl c x
> svn revert x
> svn add x
>
> --
> Stein
Received on 2011-08-09 23:30:01 CEST

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.