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

Re: How to switch, or update, a file that exists only in a brnch ?

From: Branko Čibej <brane_at_wandisco.com>
Date: Wed, 26 Nov 2014 17:39:04 +0100

On 26.11.2014 17:13, Kerry, Richard wrote:
>
>
>
> I have a couple of files that exist only in a branch which I’d like to
> have within my Working Copy. If the files exist in the Head I can use
> “switch” to change the WC instance from the Head one to the branch
> one. But if the file is not in the Head I can’t do that as Switch
> only appears to work when a file is already in the WC as a checked-out
> file, and not if it is absent, or present but not Controlled.
>
>
>
> Or should I use Update to get this ? In which case what syntax ? As
> it seems to want to update the whole folder to the Branch’s version.
>

You probably want to switch your whole working copy to the branch, or at
least the sub-tree (directory) that contains those files. Switching
individual files is rarely useful.

-- Brane
Received on 2014-11-26 17:39:41 CET

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.