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

Re: svn copy WC->URL conflict

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 20 Nov 2008 16:34:28 +0100

Laurent Fournier wrote:
> With Tortoise SVN 1.5.5 build 14361
> Imagine one have to tag a tree that contains
> main_dir/sub_dir/afile.txt
> but one have updated locally afile.txt to some older and revision (not the head)

That's always a bad idea. You *can* do that, but as mentioned in the
docs (Subversion and TSVN), this is only intended for use to check some
old code quickly - but not for actual use of the old versions.

> I want to make a tag from the WC
> When running TortoiseSVN copy on main_dir with WC->URL option,
> I receive
> an error message saying the that afile.txt already exists.
> It seems that TortoiseSVN makes the copy on the 'sub_dir' first on the head
> and get a conflict when trying to copy the inside 'afile.txt' with a different
> revision.
>
> Of course I cannot do several copies commands on a real project with hundred of
> files.

You have to find a different way to get your working copy. Updating
individual files to non-HEAD revisions is a bad idea.

Instead of asking here why something doesn't work, tell us what you want
to achieve first (i.e., tell us your workflow, not the specific steps
you wanted to do).

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-20 16:34:45 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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