Invalid last changed info after svn copy WC -> WC ?
From: Christian Franke <Christian.Franke_at_t-online.de>
Date: Fri, 23 Oct 2009 22:59:06 +0200
Hi,
if 'svn copy' is used to copy a WC dir to a new WC dir, the 'Last
Steps to reproduce in an empty dir:
$ svnadmin create ./repo
$ svn co "file://$(pwd)/repo" ./work
$ cd ./work
$ svn mkdir trunk tags
$ cat > trunk/file.txt <<'EOF'
$ svn add trunk/file.txt
$ svn propset svn:keywords 'Revision Date' trunk/file.txt
$ svn commit -m 'first'
$ svn copy trunk tags/one
$ svn commit -m 'tag one'
$ svn update
$ diff -us trunk/file.txt tags/one/file.txt
$ svn info trunk/file.txt | grep Rev
$ svn info tags/one/file.txt | grep Rev
$ cd ..
A fresh checkout of the above commit is OK:
$ svn co "file://$(pwd)/repo" ./other
$ cd ./other
$ diff -us trunk/file.txt tags/one/file.txt
$ svn info trunk/file.txt | grep Rev
$ svn info tags/one/file.txt | grep Rev
Thanks,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.