SVN - When you tag a working copy is it still a cheap copy?
Posted
by mcdon
on Stack Overflow
See other posts from Stack Overflow
or by mcdon
Published on 2010-03-07T08:54:34Z
Indexed on
2010/03/09
7:21 UTC
Read the original article
Hit count: 234
Using Subversion, in my working copy I make a minor modification (update a version number). I would then like to tag my working copy. Would this tag still be a cheap copy with the modification, or would SVN duplicate the files? I would hate to see my repository grow enormously in size because I'm trying to save a version number change.
The reason I ask about creating a tag that contains a modification rather than committing then tagging involves my build server. The build server creates a CCNetLabel which I use to update the version numbers of my projects (AssemblyInfo.cs). When the build is successful it creates a tag. When I use ForceBuild the tag is based on the working copy which would contain the modified version number. I want the tag to contain the appropriate version number.
note: It's debatable if I'm creating a branch or a tag, however SVN does not make a distinction between the two.
© Stack Overflow or respective owner