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

"Composing" a tag

From: Rush Manbert <rush_at_manbert.com>
Date: Tue, 26 Feb 2008 10:01:10 -0800

A question has come up here that I would like to ask the group.

Assume that I create a working copy by checking out my head rev of
trunk, then selectively using svn switch on certain WC subdirectories so
that they get populated from some directory other than the original. The
proposed use case is that we have created a branch from some
subdirectory and use svn switch to substitute it for the original
directory we got on the trunk checkout.

I test with my working copy, and am happy that it works as desired.

Now comes the question.

Can I somehow "compose" a tag directory in the repository that reflects
the source code that was used to piece together my working copy? The
proposal is that we would use svn copy within the repository, something
like this:

svn cp trunk tags/release1_1/something
svn cp branches/projects/subdirProject/subdir
        tags/release1_1/something/path/to/subdir
etc.

In theory, we would walk the working copy tree, find every directory
that was switched, see what it was switched to, then build up the series
of svn copy commands.

My initial reaction was that I didn't think this was possible, but I
would like to put the question to the experts. Is this possible?

- Rush

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-26 19:01:40 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.