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

Re: Can't check out single file from branch - svn client bug?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-06 02:29:24 CEST

On May 5, 2005, at 5:47 PM, David Faure wrote:

> Now, I want file.cc and file-in-branch.txt together in this directory.

Sorry, not possible.

A working copy must resemble a tree somewhere in the repository. It's
okay for parts of the tree to reflect disjoint sections of the
repository, but you cannot invent arbitrary tree-structures, "merge"
directory contents together, etc.

That said, there's no reason we couldn't add this ability; it probably
wouldn't be too much of a stretch. But honestly, nobody's ever asked
for this feature before. What you're trying to do is rather unusual:
normally branches tend to have similar structures, so you just switch
an existing chunk of working-copy structure to reflect some analogous
structure on the branch. In the rare case, say, where the branch has
an extra directory that your working copy doesn't, you can always do an
extra 'svn checkout" of that directory. But you can't checkout a
single file, hence you're stuck.

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