SVN Copy when directory exists
We have just come across an interesting problem with the 'svn copy' command when attempting to branch from the trunk for a new repository. I had done it numerous times with no problems.
In the instance where I do an 'svn copy trunk branches/branch_name' where the 'branch_name' directory does not exist, then everything works fine. However, if the 'branch_name' directory does exist, a 'trunk' directory will be created under it, and then the contents will appear.
> svn copy trunk branches/branch_name
> svn copy trunk branches/directory_exists
The result does not change if I commit before/after the directory is created.
I couldn't find this documented anywhere in the Redbean Subversion book, so am not sure if this is a defect, or whether this is functioning as designed. If the latter, could someone possible provide some insight as to why? It seems to be different to how the copy commands behave on both *nix and Windows.
Received on Tue Nov 13 09:38:48 2007
This is an archived mail posted to the Subversion Users