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

Re: Log/View Differences does not work for some copied files

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: 2006-07-05 07:23:36 CEST

Sebastian,

On 05/07/06, SebastianUnger@eaton.com <SebastianUnger@eaton.com> wrote:
> What problems can I expect with copying files between WC's, because I am
> using that very regularly! It's also the only convenient way I know for
> copying files between branches. Our repository is layed out as follows:
>
> /trunk/prj1
> prj2
> prj3
> /branches/users/user1/work-for-bug1/prj1
> prj2
> prj3
> /branches/oldVersion/prj1
> prj2
> prj3
>
> This means, that if I am to copy files between trunk and my branch
> (user1/work-for-bug1), and I can't copy between WCs, I'd have to check out
> our entire repository. Not very convenient. Is there any chance that TSVN
> can start officially supporting copying between WCs?

No, you don't have to check out the entire repository, you can even
have just one WC that is switched between trunk/prjX and
work-for-bugN/prjX.

If you have to copy *between* working copies, you should really use
the Explorer plain copy for that (in which case the destination file
will be considered 'changed'). AFAIK the (T)SVN copy/rename commands
are meant for use within a single working copy.

What are you trying to achieve with your current copying of files?

If you are you trying to bring trunk up to date with work done on the
bug branches, you should really look into the merge command. Because
that way you keep a much better track of the changes done to the
entire repository.

If you are you setting up a new bug branche to start working on a fix,
you are better of using the 'create branch/tag' command and then use
switch on your working copy to make changes to the branch, test them
and commit. Then switch back to trunk and (using the repository
browser) merge the changes that were committed to the branch back into
trunk. (feel free to read the manual for a clear explanation of these
steps).

-- 
Regards,
Jean-Marc
----------------
    ___
   // \\  @@     "De Chelonian Mobile"
  / \_/ \/._)    TortoiseSVN
 <\_/_\_/ /      The coolest Interface to (Sub)Version Control
  /_/   \_\      Check out http://tortoisesvn.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jul 5 07:23:45 2006

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