You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C.A.T.Magic" <c....@gmx.at> on 2004/04/02 15:30:36 UTC
issue: cannot 'cp' a file into a new 'tags/XYZ' folder
Hi
i tried to do a (url) copy of an existing file
into a not-yet existing /tags/TAG01 folder.
here the receipe: (Dos/Win32, but should adopt easily)
rmdir /s/q Repos
rmdir /s/q Work
set REPOS=file:///X:/SVNSandbox/SVNChecker/Repos
svnadmin create Repos
mkdir Work
cd Work
svn mkdir %repos%/trunk -m "mk trunk"
svn mkdir %repos%/tags -m "mk tags"
svn co %repos%/trunk .
echo fileA >fileA.txt
svn add fileA.txt
svn ci -m "add A file"
## don't svn mkdir %repos%/tags/TAG01 -m "mk TAG01 folder"
svn cp %repos%/trunk/fileA.txt \
%repos%/tags/TAG01/fileA.txt -m "tagged as TAG01"
## => svn: Out of date: 'tags/TAG01' in transaction '6'
-) a repository operation cannot be 'out of date',
the error is misleading,
probably should be 'target directory does not exist'?
-) it would be nice if it worked that way
-) it works if dir "TAG01" is created before but then
the folder is not at the same revision as the tagged file.
-) happens with 1.0.1 and trunk revision 9267
-) i searched for "Out of date" in the
issue tracker but found nothing similar.
:-)
=====
c.a.t.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org