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

Re: "Composing" a tag

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 27 Feb 2008 10:07:11 -0500

On Tue, Feb 26, 2008 at 11:53 PM, Mark Reibert <svn_at_reibert.com> wrote:
> On Tue, 2008-02-26 at 13:08 -0500, Mark Phippard wrote:
> > You can create the tag from your WC to get what you want.
> >
> > svn cp -m "Create complex tag" . url://server/repos/tags/r1.1
>
> Does this preserve the history of the various (sub)trees?

Yes. It is still a "copy", it just uses your WC as the driver for
what to copy. It does not even send the WC contents to the server (if
files are unmodified) it just tells the server what you have so that
it can construct the correct copy.

> What about
> locally modified files that get "uploaded" as part of the copy?

It depends on the revision argument passed to the command. For
example -rBASE would copy the pristine version. If you leave off the
revision arg, then I believe they are uploaded as part of the copy.
After the command completes, your WC will still have local
modifications because the WC is still pointed at the old location.

> (I know I can just try it - and I will - but thought I would ask for
> anyone else who is also curious.)

I'd suggest trying it to be sure on the local modification behavior.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
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-27 16:29:09 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.