Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
all
Description
Subversion 0.34.0 on Win2K SP3. I was trying to copy a file which I wanted to modify. The file was modified in the WC. Please note that I did not want to revert, I really wanted a new copy of the file, under a different name. If instead of BASE I use HEAD, everything works fine. Reproduction recipe: svnadmin create repos svn checkout file:///repos wc cd wc echo a >file.txt svn add file.txt svn commit --message "Adding file" echo b >file.txt svn copy -rBASE file.txt file1.txt Result of recipe: E:\>svn --version svn, version 0.34.0 (r7859) compiled Dec 4 2003, 08:08:28 ... E:\>svnadmin create repos E:\>svn checkout file:///repos wc Checked out revision 0. E:\>cd wc E:\wc>echo a 1>file.txt E:\wc>svn add file.txt A file.txt E:\wc>svn commit --message "Adding file" Adding file.txt Transmitting file data . Committed revision 1. E:\wc>echo b 1>file.txt E:\wc>svn copy -rBASE file.txt file1.txt svn: A path under version control is needed for this operation
http://www.contactor.se/~dast/svnusers/archive-2003-12/0406.shtml
Original issue reported by fbos