[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: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-11-01 18:48:29 CET

On 11/1/07, Miller, Eric <Eric.Miller@amd.com> wrote:
> I have the following working copy structure:
> path/
> path/A/
> path/B/
> path/C/
> path/C has been switched to a tag url, tag1, and has been deleted in the
> trunk. path/A has also been switched to tag2.

 I don't exactly understand the meaning of 'switched to' in this context.
- is /path under trunk? And if that is the case,
  - move path/C from trunk/path/C to tag1 (moving essentially meaning
deleted from trunk/path/C)
  - create a tag (copy) of trunk/path/A at tag2

I want to switch path/C to the trunk - meaning I want it to go away.
> % svn switch <trunk url>/path/C path/C
> svn: Target path does not exist
> Exit 1
> How can I update path/C to reflect its proper status in the trunk
> (deleted) without affecting path/A?

Since trunk/path/C is gone, this is not going to work right. So you want to
either switch path/C to the tag1 url, or since you know that trunk/path/C is
gone, just use "rm -rf path/C"

-Hari Kodungallur
Received on Thu Nov 1 18:48:57 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.