WC corruption after "svn cp -r"
From: Eelco Dolstra <eelco_at_cs.uu.nl>
Date: 2006-07-12 15:54:52 CEST
Hi,
I ran into a bug in Subversion when I tried to revive an old revision of
This occurs with both Subversion 1.3.2 and 1.4.0rc1.
Recipe to reproduce the bug:
$ svn --version
$ uname -a
$ svnadmin create repo
$ repo=$(pwd)/repo
$ svn co file:///$repo wc
$ cd wc
$ svn mkdir dir
$ echo "test 123" > dir/foo
$ svn add dir/foo
$ svn -m "" ci
$ echo "test 456" > dir/foo
$ svn -m "" ci
$ svn cp dir -r 1 dir-old
$ svn up <-- critical step, without this it works fine
$ svn -m "" ci
$ cat dir-old/foo
$ svn cat file://$repo/dir-old/foo
$ echo "test 789" > dir-old/foo
$ svn -m "" ci
Note: the only effect of "svn up" is that it changes
*** dir-old-orig/.svn/entries 2006-06-22 16:02:30.000000000 +0200
-- Eelco Dolstra | http://www.cs.uu.nl/~eelco --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Jul 12 15:55:51 2006 |
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.