You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Massimiliano Cordioli <ma...@telecomitalia.it> on 2005/09/08 10:03:00 UTC
Tag a single file
Hi,
I'm an old CVS user and now I'm testing SVN feautes.
Now I haven't understood how I can release a patch for my software.
Is possible with SVN to "tag" only a single file or a little group of file?
If not, there is some other policy that i can use?
Thankyou
--
--------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons above and may contain confidential information. If you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it immediately to the sender and delete the message. Should you have any questions, please contact us by replying to webmaster@telecomitalia.it.
Thank you
www.telecomitalia.it
--------------------------------------------------------------------
Re: Tag a single file
Posted by Joshua Varner <jl...@gmail.com>.
On 9/8/05, Tom Mornini <tm...@infomania.com> wrote:
> On Sep 8, 2005, at 3:03 AM, Massimiliano Cordioli wrote:
>
> > I'm an old CVS user and now I'm testing SVN feautes.
> > Now I haven't understood how I can release a patch for my software.
> > Is possible with SVN to "tag" only a single file or a little group
> > of file?
> > If not, there is some other policy that i can use?
>
[ snip ]
>
> In general, in any project with less than MANY files, is released
> OFTEN, and distributed to MANY locations, I greatly prefer
> complete distributions.
>
Additionally, it costs the same in disk space to "tag"/copy the whole
tree as it does to copy one file. So it usually isn't worth the extra work
to tag just one file.
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tag a single file
Posted by Tom Mornini <tm...@infomania.com>.
On Sep 8, 2005, at 3:03 AM, Massimiliano Cordioli wrote:
> I'm an old CVS user and now I'm testing SVN feautes.
> Now I haven't understood how I can release a patch for my software.
> Is possible with SVN to "tag" only a single file or a little group
> of file?
> If not, there is some other policy that i can use?
Sure.
Let's assume you're using generic directory structure:
/tags
/branches
/trunk
And inside trunk you have 10 files:
/trunk/file0
/trunk/file1
/trunk/file2
/trunk/file3
/trunk/file4
/trunk/file5
/trunk/file6
/trunk/file7
/trunk/file8
/trunk/file9
You could tag the whole thing with:
svn cp URL/trunk URL/tags/release1
After a while, you might release a single file, file4.
svn mkdir URL/tags/release2
svn cp URL/trunk/file4 URL/tags/release2/file4
I, and many other people, think that's a pretty bad idea for many
reasons, but if you want to, Subversion doesn't stand in the way.
I think it's much smarter to always tag the entire tree. That way
you always assure a coherent way to identify an entire release.
Much better to create a build script to automatically and flawlessly
determine which files have changed between releases, and build
patch sets for partial file distributions.
In general, in any project with less than MANY files, is released
OFTEN, and distributed to MANY locations, I greatly prefer
complete distributions.
--
-- Tom Mornini
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org