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

Creating branch from sparse working copy, using 1.5 beta 1

From: Jim Hennessy <jphxx_at_attglobal.net>
Date: Wed, 02 Apr 2008 14:51:48 -0400

I would like to create a branch that represents just the directories in
my sparse working copy, but it doesn't seem to work as I hoped. That
is, say my repository has these directories:

   trunk
   trunk/a
   trunk/b
   trunk/c
   branches

Now I make a working copy that is a sparse version of the trunk:

   svn checkout --depth=empty url/trunk .

Now I add a subset of the possible directories:

   svn update a b

I would like to be able to create a branch from this working copy, as in:

   svn copy . url/branches/b1

But the resulting branch has the "c" directory in it as well, even
though it isn't in my working copy. Is this intended, or a bug? It
would suit my purpose better if there was at least an option to respect
the sparseness of my working copy.

I notice that I can do it using just URLs, such as:

   svn copy --parents url/trunk/a url/trunk/b url/branches/b1

It would sometimes be nice to be able to do it from a working copy,
though, in order to use a mix of revisions.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-02 22:23:47 CEST

This is an archived mail posted to the Subversion Users mailing list.