subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko Čibej <>
Subject Re: How to switch, or update, a file that exists only in a brnch ?
Date Wed, 26 Nov 2014 16:39:04 GMT
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

View raw message