"svn copy -rHEAD" copies the wrong version.
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-09-30 19:00:05 CEST
svn cp -rHEAD WC-FILE NEW-WC-FILE
does not contact the repository to determine "-rHEAD". Instead it copies the version that currently exists in the WC. The following script demonstrates it.
[[[
set -x -e
# Now we have a repository and a WC, start playing in the WC.
svn copy -rHEAD a b ### copies the wrong version
I couldn't find an issue for this and I haven't filed one yet.
- Julian
---------------------------------------------------------------------
|
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.