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

RE: Tag only the changed list

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-03-31 01:16:07 CEST

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
Received on Thu Mar 31 01:20:16 2005

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.