[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

issue: cannot 'cp' a file into a new 'tags/XYZ' folder

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-04-02 17:30:36 CEST

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
Received on Fri Apr 2 17:30:52 2004

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.