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

Querry for tagging

From: Rahul <rahul.hughes_at_gmail.com>
Date: 2007-03-22 05:43:14 CET

Hi
             I am facing a problem for tags
             If I create a tag using command
    svn copy http:///repos/xyz http:///repo/tags/1
then the file or heirarchy under xyz is copied under 1
for example if
xyz/1.txt
xyz/2.txt
then 1 will contain 1.txt and 2.txt and structure under 1 will be
1/1.txt
1/2.txt
but if i run this command again unknowingly that 1 is already there
then it will copy folder xyz and place the files in them again
then 1 will have
1/1.txt
1/2.txt
1/xyz/1.txt
1/xyz/2.txt

but in third time it will give an error
svn: Path '1/xyz' already exists

Is there anything to generate error on the second attempt itself so tht
structure wont be hampered as i dont want that xyz to be created.

Regards
Rahul

"I LIKE TO WALK IN RAIN","SO NO ONE CAN SEE MY TEARS"
Received on Thu Mar 22 05:43:34 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.