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

Re: Switching a Single Working File to Another Branch

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-09-16 14:42:52 CEST

On Sep 15, 2005, at 7:49 PM, Pang, Stephen wrote:

> I am trying to switch certain files (not the entire directory)
> within my
> working copy
> to another branch but seem to only be able to switch directories. I
> have tried to put
> the file name after the directory but receive an error "svn: Cannot
> replace a directory from within".
> If I leave off the file name, the entire directory is switched.
>
> Can someone tell me what I am missing?

Can you actually show us a transcript? All you need to do is run:

   $ svn switch http://host/repos/branches/branch1/file1 file1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 14:45:56 2005

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.