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

RE: Creating tags

From: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Thu, 1 Jan 2009 15:53:14 +0200

Hi Karl,

I am so happy that you are not in a New Year vacation :)
This is the thing.

We do have a tagging problem - we tag all assets in SVN, not only what we release.

Our automatic tool, takes all assets he needs for the release and create a new folder tree.

Example,
        1) SVN:
                         svn\content\asstes\music\*
                        svn\content\asstes\movie\*
        2) I checkout the files that I work with to disk:
                        D:\content\assets\music\*
                        D:\content\assets\movie\*
        3) I copy the specific files I need from the working folder to another location on the disk.
                        D:\release1\music\2.mp3
                        D:\release1\movie\1.flv
        4) Currently on Tag:
                        svn\content\asstes\music\*
                        svn\content\asstes\movie\*
        5) What I am looking for tag to be is
                        svn\release\asstes\music\2.mp3
                        svn\release\asstes\movie\1.flv

We have this tool that arranges the disk in the right order.
1) If I take the files from the disk and commit them to the tag folder will that be as cheep copy?
2) If not then I guess that the only way to do a cheep copy (without double all the assets in the repository is to make the same copy I make in the automatic tool inside the SVN - using the svn copy.

Ilan Yaniv

-----Original Message-----
From: Karl Heinz Marbaise [mailto:khmarbaise_at_gmx.de]
Sent: Thursday, January 01, 2009 3:37 PM
To: Ilan Yaniv
Cc: users_at_subversion.tigris.org
Subject: Re: Creating tags

Hi Ilan,

> We have a huge amount of assets (jpg,flv,mp3 etc), in SVN, but for each
> release we take only part of the assets files.
Where is this defined ?

>
> But in the SVN, when we make a tag, we are tagging all the assets.
Yes this in done on purpose, cause a tag marks all items which are part
of a particular release.

>
> I want that the automatic tool, will copy all assets from the Trunk
> folder to the Tag folder, but a cheep copy, so that we will not double
> our assets inside the svn.
You are not doubling your assets...cause Subversion will make an 'cheap
copy' which means in other words it will a reference in the tags folder
which is called "tag"...
If you use the svn copy command for example in the following way:

svn copy URL/trunk URL/tags/R1.0 -m"- Rel 1.0".

you can see via "svn log URL/tags/R1.0" a thing like this:

  A /tags/R1.0 (from: /trunk:100)

This is what exactly is stored internally...

So why would you like to change this behaviour and do some self made
things ?

But as you mentioned that you only take parts of your assets for the
release it seemed to me that you should change your tagging convention...

Or may be you can take a look at the result of things like this:

svn diff --summarize URL/tags/R1.0 URL/tags/R1.1

Or do i understand your intention wrong ?

Kind regards
Karl Heinz Marbaise

-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=998562
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-01 14:55:17 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.