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

Re: svn switch question

From: Rush Manbert <rush_at_manbert.com>
Date: 2007-11-02 02:17:27 CET

Miller, Eric wrote:
<snip>

>
> I'm going to update my nomenclature a bit to better distinguish the
> working copy paths from the repository urls.
>
> The updated contrived working copy:
> wc:wc_root/path/ => url:trunk/path (dir)
> wc:wc_root/path/A/ => url:tags/tag2/path/A (dir)
> wc:wc_root/path/B => url:trunk/path/B (file)
> wc:wc_root/path/C/ => url:tags/tag1/path/C (dir)
>
> The scenario:
> I created a working copy with subdirs pointing to a mixture of tags.
> This "perfect" mixture is what I need to create yet another tag. I do
> so and then wish to update a portion of the working copy
> (wc:wc_root/path/C) to the trunk. While I was creating my perfect
> mixture, someone deleted url:trunk/path/C (and that's ok with me). Lets
> say for the sake of argument that url:trunk/path/A has also been
> deleted.
>
> Restating the question: If url:trunk/path/C has been deleted how do I
> switch wc:wc_root/path/C to that deleted trunk state without doing the
> same to wc:wc_root/path/A, or any other innocent bystanders?
>

Can't you do this by removing wc:wc_root/path/C via:
    rm -rf wc:wc_root/path/C

then do:
    svn up wc:wc_root/path

? Or would that just check out everything from url:tags/tag1/path/C?
What I'm thinking is that svn will recognize that C is missing and try
to recreate it, but will it update it from the trunk (where it has been
deleted) or from the switched-to location?

- Rush

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 2 02:17:51 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.