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

Re: Querry for tagging

From: Dmitri Colebatch <dim_at_colebatch.com>
Date: 2007-03-22 06:47:46 CET

Hi Rahul,

Have a look at the pre-commit-check script on
http://subversion.tigris.org/tools_contrib.html#hook_scripts

cheers
dim

On 3/22/07, Rahul <rahul.hughes@gmail.com> wrote:
> 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"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 22 06:48:08 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.