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

RE: Re: question about tagging with cheap copies

From: Norton, Richard <Richard.Norton_at_lfg.com>
Date: 2007-03-06 20:13:03 CET

http://svnbook.red-bean.com/nightly/en/svn.branchmerge.using.html#svn.branchmerge.using.create
 
See the second example. You can use copy to create tags/branches completely on the server side...no working copy/filesystem involvement at all.

-----Original Message-----
From: Emin.shopper Martinian.shopper [mailto:emin.shopper@gmail.com]
Sent: Tuesday, March 06, 2007 1:05 PM
To: users@subversion.tigris.org
Cc: Andy Levy
Subject: Re: question about tagging with cheap copies

On 3/6/07, Andy Levy < andy.levy@gmail.com> wrote:

On 3/6/07, Emin.shopper Martinian.shopper < emin.shopper@gmail.com> wrote:

> For example, imagine I have a project with main/tags, main/branches, and
> main/trunk. Every week I use svn copy to create a new entry in
> main/tags/week-XXX-year-YYY. Now if someone does svn update on main, they
> may get hundreds of copies of things in main/tags taking up a lot of disk
> space and network traffic.

Why check out from /main in the first place? You can check out
/main/trunk and /main/branches individually (or even individual
branches, so that you don't have a copy of every branch locally), thus
eliminating /main/tags from the update altogether.

Only check out what you need.

Ideally, yes. But what if someone accidentally does an update of the root directory?

More realistically, the script that does the svn copy to create the new tag seems to cause a version of the newly copied "tag" to be instantiated in the local file system. Is there a way to tell svn to make a copy so I can tag something WITHOUT having a local version get checked out? Or whenever I want to make a tag, do I need to do svn copy and then delete the result from the file system?

Thanks,
-Emin

Notice of Confidentiality: **This E-mail and any of its attachments may contain
Lincoln National Corporation proprietary information, which is privileged, confidential,
or subject to copyright belonging to the Lincoln National Corporation family of
companies. This E-mail is intended solely for the use of the individual or entity to
which it is addressed. If you are not the intended recipient of this E-mail, you are
hereby notified that any dissemination, distribution, copying, or action taken in
relation to the contents of and attachments to this E-mail is strictly prohibited
and may be unlawful. If you have received this E-mail in error, please notify the
sender immediately and permanently delete the original and any copy of this E-mail
and any printout. Thank You.**
Received on Tue Mar 6 20:13:30 2007

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.