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

Antwort: Re: Antwort: Re: use case: which tags are implementing a specific feature which was realized in revision X? [*]

From: <Lutz.Dornbusch_at_fiducia.de>
Date: 2007-10-12 12:58:44 CEST

Ryan Schmidt <subversion-2007b@ryandesign.com> schrieb am 11.10.2007
21:39:47:

>
> On Oct 11, 2007, at 07:44, Lutz.Dornbusch@fiducia.de wrote:
[...]
> > thanx for your fast answer, unfortunately this issue is not that
> > easy. We
> > are talking about already migrated repositories and a lot of tags.
>
> Ok, that probably doesn't change anything. I believe cvs2svn creates
> tags the same way you would manually with Subversion.
You are right this changes anything on the repository, but it changes
the situation:
Now you have a lot of tags and maybe you want to know the correlation
between your history in trunk(sometimes of a specific file)and when
you create a tag (especially when through your migrationprocess your
new svn revisions look different to your old cvs-file-revs).
>
> > So I can see the revision from which I made the copy, but I cannot
> > see the
> > specific revision of any file inside this folder.
>
> This may be a misunderstanding: in CVS, files have revisions. In
> Subversion, they don't. In Subversion, the repository as a whole has
> revisions. So it does not make sense to ask about "revision 42 of
> file foo". Instead, you must ask about "file foo as it existed in
> revision 42 of the repository".
This was clear to me, but maybe I had not articulate my problem clearly:
I want to get a list of all tags to which a file was copied
>
> > So you may have a Tag from Rev 87 of trunk, that will not say anything
> > about the revision of a specific file inside of trunk(except it is
> > below
> > 87).
> > I want to see for each file which revision is used in each tag.
>
> Maybe what you want is the LastChangedRevision of each file in the
> tag -- for each file, the last revision of the repository in which
> that file was actually changed? I believe you can get this using "svn
> list --verbose" or "svn list --xml"
> [...]
wow, I did't use --verbose on svn list and this is a good amount of
information, but it is kind of the "wrong direction". I have to query
each tag for this info. But I want to get a list of _all_ tags for a
specific
file in trunk.
An example:
If I know the exact revision where new feature (for example: fsfs-backend
in svn)
was added, how can I find all tags, where this feature is
implemented( or, at least, the earliest tag)?
How can I get this information from a svnrepository?
Do I have really to check all tags?

At the moment I can follow the history of a file only in one direction:
from
destination to source. But sometimes it is useful to know to which places
a
file has been copied(so I want to follow the path from source to
destination).

Thanx for your help,
Lutz

----------------------------------------------------------------------------------------------------------------------------------------------
FIDUCIA IT AG
Fiduciastraße 20
76227 Karlsruhe

Sitz der Gesellschaft: Karlsruhe
AG Mannheim HRB 100059

Vorsitzender des Aufsichtsrats: Erwin Kuhn
Vorsitzender des Vorstands: Michael Krings
Vorstand: Klaus-Peter Bruns, Hans-Peter Straberger, Eckhardt Werner

Umsatzsteuer-ID.Nr. DE143582320, http://www.fiducia.de
----------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 12 12:59:15 2007

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.