You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Muthu Gopal <mu...@hotmail.com> on 2005/03/30 22:34:02 UTC

Tag only the changed list

<html><div style='background-color:'><DIV class=RTE><PRE>How to I create a tag only for the changed files? For
Instanace I have the following structure in my repository:
\trunk
\branches
\tags

In the trunk folder, I have totally 1000 files. My
developer keeps making changes and creates revisions in
the trunk say 8,9 and 10. And each of these revisions he
modifies just 3 files i.e. totally 9. Now he likes put
these 9 files ( modified in 8,9 and 10) alone in a tags
folder and handover to another entity for
build/deployment.

Subversion allows me to create a tag as of 10 revision but
would copy all the 1000 files to the tags folder. I want
just these 9 files - the changed files in these 3
revisions - to be copied to the tag.

Is it possible?<PRE>How to I create a tag only for the changed files? For
Instanace I have the following structure in my repository:
\trunk
\branches
\tags

In the trunk folder, I have totally 1000 files. My
developer keeps making changes and creates revisions in
the trunk say 8,9 and 10. And each of these revisions he
modifies just 3 files i.e. totally 9. Now he likes put
these 9 files ( modified in 8,9 and 10) alone in a tags
folder and handover to another entity for
build/deployment.

Subversion allows me to create a tag as of 10 revision but
would copy all the 1000 files to the tags folder. I want
just these 9 files - the changed files in these 3
revisions - to be copied to the tag.

Is it possible?</PRE><PRE>&nbsp;</PRE></PRE></DIV></div></html>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Tag only the changed list

Posted by Dale Worley <dw...@pingtel.com>.
From: Muthu Gopal [mailto:muthuboy@hotmail.com]

 How to I create a tag only for the changed files?


It can be done, but it's not clear that there's any good reason to do it.

To do it, you can create a WC containing only the changed files, then copy
it to the tag location.  That can be done fairly easily by a script.  Or you
could use a similar script to copy each changed file directly to its target
location in the repository.  (But that would commit each changed file
separately.)

But usually there is no reason to do this -- given how Subversion does
copies, it actually takes *less* space in the repository to copy a single
rev of a large source tree than to copy three or five individual files.
(Subversion represents a copied tree by a single data item.)

Note that creating a tag containing only the changed files provides no way
to represent the deletion of a file, but creating a tag containing the
entire current source tree naturally represents the deletion of a file.

Dale