You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Turalski <st...@gmail.com> on 2005/04/15 07:02:20 UTC
I need your help with "labeling" scenario
Hi,
I know that it is rather users group than support, but I need to solve
one case with svn, and really don't know where to go.
so we have sources in svn repository, the revision of HEAD is 1000,
but last changes in repositories are.
a\ - 800
b\ - 700
c\ - 856
d\ - 1000
now what I should support is to check out specific configuration:
a\ at 580 revision
b\ - newest one
c\ - 320
d\ - newest one
Only because I know these revision were good, and work properly, and
the new one could work but are tested jet. I could do it at user side
by script work. OR what I would like to do is to obtain something like
LABEL, over this set of exact revision.
What should I do ? make a branch for this set of files ? Or there is
labeling support at SVN, and I miss it?
Thanks for just reading - if you know what I could do, I need you
help, please, tell me ;-)
--
best regards
Stefan 'stic' Turalski
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: I need your help with "labeling" scenario
Posted by Manuzhai <ma...@manuzhai.nl>.
> now what I should support is to check out specific configuration:
> a\ at 580 revision
> b\ - newest one
> c\ - 320
> d\ - newest one
>
> Only because I know these revision were good, and work properly, and
> the new one could work but are tested jet. I could do it at user side
> by script work. OR what I would like to do is to obtain something like
> LABEL, over this set of exact revision.
>
> What should I do ? make a branch for this set of files ? Or there is
> labeling support at SVN, and I miss it?
Well, there is a way of doing what you want. First, you should have your
repository setup the way it is recommended: with /tags, /branches and
/trunk. Assuming your stuff is in trunk, you can get what you want by
doing the following:
$ svn mkdir svn://host/repos/tags/my-tag
$ svn cp -r580 svn://host/repos/trunk/a svn://host/repos/tags/my-tag/a
$ svn cp svn://host/repos/trunk/b svn://host/repos/tags/my-tag/b
$ svn cp -r320 svn://host/repos/trunk/c svn://host/repos/tags/my-tag/c
$ svn cp svn://host/repos/trunk/d svn://host/repos/tags/my-tag/d
You see, in Subversion we don't have LABELs or TAGs in another
dimension, but we use a directory as a means of labeling a bunch of
files. Because copies are cheap (e.g., the tag will just be stored as
references to the actual versions of the files), this doesn't take a lot
of storage.
HTH,
Manuzhai
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org